News for hackers. Stuff that matters.
Re:HTTP API Design Guide by kimh on Wednesday November 26, 2014 @10:01PM (#8665799)
I am not sure about "Provide full resources where available". Why do we need to return everything with DELETE request? Client is supposed to know what to be deleted, so the response seems redundant.
Re:HTTP API Design Guide by hermanradtke on Thursday November 27, 2014 @01:52AM (#8666285)
Consider this a request to delete an item from a users shopping cart:

DELETE /api/users/1234/cart/5678

I would expect this response to return the cart resource so client does not have to issue a GET /api/users/1234/cart request.

Re:HTTP API Design Guide by myhf on Wednesday November 26, 2014 @10:11PM (#8665818)
I agree. If the DELETE is successful, the full resource should be null, so it would make sense to send a 204 with no content.