REST, HTTP DELETE and parameters
- by Chris McCauley
Is there anything non-RESTful about providing parameters to a HTTP DELETE request?
My scenario is that I'm modeling the "Are you sure you want to delete that?" scenario and eventually I end up having to pass a parameter to the delete request with "?force_delete=true"
e.g.
DELETE http://server/resource/id?force_delete=true
If the user does not specify force_delete then I'm returning 409 Conflict - is that correct?