I'm trying to receive a JSON via DELETE to a cherrypy server using:
@cherrypy.tools.json_in()
def delete(self):
data = cherrypy.request.json
But I always get an error (Looks like cherrypy just throw the json away...). Is there a way to retrieve the json?
I googled around and saw some people saying sending a DELETE with body is wrong, but the specs don't say anything.