Re: [web2py] REST the web2py way - RFC
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*
[web2py] REST the web2py way - RFC
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 =