You will need to do request.body.read() for PUT. Web2Py does not parse the body of PUT requests.
Example: Request: PUT /test/default/ HTTP/1.1 Content-Length: 21 blah blah hello hello Output: Body "blah blah hello hello" On Jul 31, 12:28 am, 诚子 <[email protected]> wrote: > Hi, I wan't use PUT method and DELETE method,to build a RESTful > service,how to get an PUT method and DELETE data? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

