I wish to implement a RESTful interface with web2py.
What I would like to know is what is the most web2py friendly way of
doing so.

Is there a way to have the data inserted into the database without me
having to write the queries myself?

I am basically looking for the equivalent of
forms.accepts(request.vars), but to be invoked from a web service.

I already implemented what I basically want, but I think it is pretty
ugly.
You can my current implementation here:
https://github.com/globaleaks/GlobaLeaks/commit/4222890bf6cb7b96138c9ffd9f72432aa05d47f1


Any tips, suggestions?

Thanks!

- Art.

Reply via email to