On Nov 2, 2011, at 12:35 PM, Raymond Elward wrote: > It's not clear from the book. but will a piece of code like : > > """ > from gluon.tools import Service > service = Service() > > def call(): > session.forget() > return service() > > @service.json > def submit(body, age, gender): > unique_id = insert_into_my_db(body, age, gender) > return dict(unique_id=unique_id) > > """ > > work with a POST request. I know and have tested it with a get > request and it works swimmingly, but I'm wondering if it will work > with POST.
I think so, yes. I'm using service.jsonrpc with POST, and it works fine.