Hi there,
I wonder what HTTP0 means as a result of ns_http. How do I open it? Is
it a TDOM object? Should I pass the result variable in the method call?
the following chunk of code returns page with HTTP0 assigned:
/ set url [export_vars -base
"https://graph.facebook.com/oauth/access_token" \//
// {{client_id $appid} {redirect_uri $return_url}
{client_secret $appkey} {code $code}}]//
//
// set queryHeaders [ns_set create]//
// ns_set update $queryHeaders Host https://www.evex.co//
// ns_set update $queryHeaders Content-Type HTML//
//
// set page [ns_http run -headers $queryHeaders -timeout 10.0 -method
GET $url]//
// ns_log Notice "$page"//
////
///
[01/Apr/2017:18:50:13][7717.b476ab70][-conn:evex:0-] Notice: Runing
script /packages/evex-core/www/login.tcl
[01/Apr/2017:18:50:19][7717.b476ab70][-conn:evex:0-] Notice: Running
fb-login...
[01/Apr/2017:18:50:19][7717.b476ab70][-conn:evex:0-] Notice: http0
[
Best wishes,
Iuri
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel