On Jul 16, 4:43 pm, Fran <[email protected]> wrote:
> @service.xmlrpc
I see you use JSON, so:
@service.jsonrpc
> from xmlrpclib import ServerProxy
> server = ServerProxy('http://..../app/default/call/xmlrpc')
> print server.myfunction('user', 'password')
from jsonrpc import ServiceProxy
server = ServiceProxy("http://localhost:8000/app/default/call/
jsonrpc")
server.myfunction("user","password")
F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---