REST DELETE API with request body

651 views
Skip to first unread message

Vinod Kumar Donthi

unread,
Aug 29, 2016, 2:22:29 AM8/29/16
to Google App Engine
Hi,

I am trying to delete multiple records through  REST DELETE API. For some reason the request body is not reaching the API. I know that it is not recommended to send a request body in REST DELETE. How can i achieve deletion of multiple records?

Jason Collins

unread,
Aug 29, 2016, 3:34:09 PM8/29/16
to Google App Engine
The public issue tracker for this is here: https://code.google.com/p/googleappengine/issues/detail?id=601

Unfortunately, as per the RFC, you cannot supply a body with a DELETE request.

When I've hit this in the past, I've been lucky enough that the API provided also supported an equivalent POST endpoint (in my case I had to specify the query argument ?method=DELETE).
Reply all
Reply to author
Forward
0 new messages