Accept
and Content-Type
are used for deciding which representation of a resource should be sent in the response. With a DELETE
there generally is no response body, and so there’s nothing to decide.
To put it another way, DELETE
operates on the entire resource, so there’s no purpose in negotiating a specific representation.
CLICK HERE to find out more related problems solutions.