Ignore my previous message. I do not know. It is an RPC so the url is
http://127.0.0.1:8000/app/default/call/jsonrpc but the request for "echo" has to be in the proper formatted jsonrpc protocol and I would not know how to build that from the shell. On Oct 22, 12:54 pm, Don Lee <sam...@gmail.com> wrote: > I have created a test application to play around with json-rpc. > > ================================================= > # coding: utf8 > > def index(): > return dict() > > def call(): > return service > > @service.jsonrpc > def echo(msg) > return msg > ================================================= > > How can I test this service from the python shell? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---