Starting on Angular 1.6.4, the hasBody
action configuration was added.
You can now have:
deleteSomething: {
method: 'DELETE',
hasBody: true
}
hasBody
-{boolean}
- allows to specify if a request body should be included or not. If not specified only POST, PUT and PATCH requests will have a body.