Closed fabianfrz closed 4 years ago
This is the current API for backbone. Granted you may need to JSON.stringify
data
and/or set your contentType, but doing exactly what you're doing in the code above works in backbone.
Thanks, I will think if I will document that in the Backbone.sync section.
A delete request may have a body containing some meta data like who deletes the resource and why. This information is usually not required for the delete process itself but may be required for the process (usually documentation purposes).
For example: