Anyone got experience with the XMLRPC libraries?
revolution at knowledgeworks.plus.com
Wed Mar 7 04:35:09 CST 2007
David, I've only done some simple tests, but I can get basic
authentication working like this:
> put revxmlrpc_createrequest() into myrequest
> revxmlrpc_sethost myrequest,"myUsername:myPassword at localhost"
> revxmlrpc_setport myrequest,"8080"
> revxmlrpc_setpath myrequest,"/"
> revxmlrpc_setmethod myrequest,"undo_log"
> put revxmlrpc_execute(myrequest) into myresponse
> if myresponse is a number then
> answer revxmlrpc_getparam(myresponse,1,"string")
> revxmlrpc_free myresponse
> else answer myresponse
> revxmlrpc_free myrequest
When you say it is not working, what kind of response are you getting?
More information about the use-livecode