rest - Retrieve JSON in a DELETE request -


i'm trying receive json via delete cherrypy server using:

@cherrypy.tools.json_in() def delete(self):     data = cherrypy.request.json 

but error (looks cherrypy throw json away...). there way retrieve json?

i googled around , saw people saying sending delete body wrong, the specs don't anything.

ok, blame bad reading skills...

from the specs...

the delete method requests origin server delete resource identified request-uri

it still doesn't explicit shouldn't have body, but...


Comments