*json rpc (1.1 and 2) *
*for curl should be*
curl -X POST -d '{"method": "add", "params": [42, 23], "id": 1}' -i 
http://127.0.0.1:8000/test/default/call/jsonrpc
curl -X POST -d '{"method": "add", "params": {"a": 42, "b": 23}, "id": 1}' 
-i http://127.0.0.1:8000/test/default/call/jsonrpc
curl -X POST -d '{"jsonrpc": "2.0", "method": "add", "params": [42, 23], 
"id": 3 }' -i http://127.0.0.1:8000/test/default/call/jsonrpc2
curl -X POST -d '{"jsonrpc": "2.0", "method": "add", "params": {"a": 42, 
"b": 23}, "id": 3 }' -i http://127.0.0.1:8000/test/default/call/jsonrpc2

*for postman*
just change the method into POST and the body raw type (application/json) 
with the params from example above (curl -d)

xmlrpc seems must create the *.xml file first, not sure, never tried

best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to