Thanks Massimo, I realize now that those variables are also in **vars (request.restful interface<http://www.web2pyslices.com/slice/show/1533/restful-api-with-web2py> ) I wonder how conflicts between query parameters and body parameters are resolved.
BR, Daniel On Friday, March 22, 2013 6:02:32 AM UTC+1, Massimo Di Pierro wrote: > > if request.env.request_method=='POST': > put_vars = request.post_vars > > basically request.post_vars are the variables in body whether it is PUT > or POST or other. > > > > On Thursday, 21 March 2013 19:10:27 UTC-5, Daniel Gonzalez wrote: >> >> Hi, >> >> How can I access the data in the PUT request? (in the body of the request) >> Can this be automatically parsed (my data is JSON) >> >> Thanks, >> Daniel >> > -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.