You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to cherrypy-users
Hello,
I'm building a REST application and one use case receives a PUT http
request. The body contains a JSON document. I can't find anyway to
access the raw data in the request directly. The data is not url
encoded as a name=value pair. It is just the JSON document.
How can I access the data directly?
By the way, I'm using this to decide whether to process GET or PUT:
if cherrypy.request.method == "GET":
# process GET
elif cherrypy.request.method == "PUT":
# process PUT
Daniel
unread,
May 2, 2011, 4:52:45 PM5/2/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message