One liner test xmlrpc call to web2py add service


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. from xmlrpclib import ServerProxy, Error; s = ServerProxy('http://localhost:8000/Test1/default/call/xmlrpc'); print s.add(3,4)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.