News for hackers. Stuff that matters.
Re:A Visual Guide to What's New in Swagger 3.0 by silviogutierrez on Tuesday March 21, 2017 @10:19PM (#13928033)
I can understand this approach to GET

But how would you, say, bulk delete 5 different resources? I typically send those payloads in the request body of a DELETE request.

Re:A Visual Guide to What's New in Swagger 3.0 by SideburnsOfDoom on Wednesday March 22, 2017 @05:25AM (#13929529)
> how would you, say, bulk delete 5 different resources? I typically send those payloads in the request body of a DELETE request

From the RFC: The DELETE method requests that the origin server delete the resource identified by the Request-URI.

https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

If the ids are in the body, you are not deleting the resource at the URI. I think that for this kind of operation you are better off with a POST.