I'd like to have a service using multiple decorators.
e.g.
@service.run
@service.json
def concat(a,b):
return a+b
Calls such as:
http://127.0.0.1:8000/app/default/call/run/concat/hello/world
http://127.0.0.1:8000/app/default/call/json/concat/hello/world
But XML works as well?
How can I restrict to some decorators?
Thanks
--
---
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/groups/opt_out.