Would not it be better to do this?
@request.get()
<@request.post()>
<@request.put()>
<@request.delete()>
def api():
(...)
return dict(...)
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
This is the result of a brainstorming session at PyCon with web2py
users Jay, Kevin, Shawn and Nathan.
We could use some help with testing and more importantly usability.
Please check out trunk and put this in your code
@request.restful()
def api():
def GET(*args,**vars):
parser = d
2 matches
Mail list logo