You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Delete method supports body in Angular 7, window.fetch and XHR.
I see no reason why it cannot be supported in Restangular out of the box without tricks with interceptors.
Conform RFC 8231 Sec 4.3.5: https://tools.ietf.org/html/rfc7231#section-4.3.5
"A payload within a DELETE request message has no defined semantics; sending a payload body on a DELETE request might cause some existing implementations to reject the request"
Angular is a medium, not the API itself. If the API doesn't forbid it, Angular shouldn't make the decision for the dev. If someone is developing full stack, they have sufficient control over the REST handling to properly handle DELETES with payload.
The text was updated successfully, but these errors were encountered:
The Delete method supports body in Angular 7, window.fetch and XHR.
I see no reason why it cannot be supported in Restangular out of the box without tricks with interceptors.
Please see the discussion in similar issue in angular repository:
angular/angular#19438 (comment)
angular/angular#19438 (comment)
The text was updated successfully, but these errors were encountered: