Re: [web2py] REST the web2py way - RFC

2011-03-13 Thread contatogilson...@gmail.com
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

2011-03-12 Thread Massimo Di Pierro
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 =