XMLRPC & Authentication
Andre Garzia
soapdog at mac.com
Mon Jul 18 15:13:46 EDT 2005
On Jul 18, 2005, at 3:47 PM, david bovill wrote:
> Looking into sending xmlrpc calls that require basic http
> authentication... any ideas as it is not documented in the xmlrpc
> create request, but is AFAIK part of the libUrl stack... just can't
> find any docs at the moment...
>
David,
many ways to do that David, one is to script the basic auth header
yourself using the set httpheader property. it's fairly easy, just
get your username and password and to like this:
put the cusername of this stack & ":" & the cpassword of this
stack into tToken
put format("Authorization: Basic %s", base64encode(tToken)) into
tAuthToken
set the httpheaders to tAuthToken
then call your method.
other more professional ways, refer to libURL Real Docs at http://
support.runrev.com/resources/liburlrealdocs.html
cheers
andre
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list