Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTTP Authentication and XML
Message
 
 
To
05/05/2008 10:53:40
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01314247
Message ID:
01315125
Views:
33
I've no idea about this stuff but you can try :)
lxmlObj.SetRequestHeader("Authorization", "Basic “ + encoding")

* or
lxmlObj.Open( "POST", lcURL, .F., id, password) )
>This is a bit new to me, but this is part of what they said:
>
>"I don’t think you actually send the userid and password. You need to set up “HTTP Basic Authentication”. It’s sent as another request property; like the Content-Type."
>
>Then this:
>
>"Here is sample Java code that I’ve used to do this:"
>
>
>String authString = id + “:” + password;
>String encoding = Base64.encode(authString.getBytes());
>connection.setRequestProperty(“Authorization”, “Basic “ + encoding)
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform