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
Apparently the REST specification is unclear on whether DELETES should have request bodies. Angular interprets it as no. We can modify our api design slightly to cooperate with google.
Instead of issuing a DELETE by sending an id request body to /contacts/:id/organizations, for example, we can instead accept a DELETE request to /contacts/:id/organization/:orgId.
Apparently the REST specification is unclear on whether DELETES should have request bodies. Angular interprets it as no. We can modify our api design slightly to cooperate with google.
Instead of issuing a DELETE by sending an id request body to /contacts/:id/organizations, for example, we can instead accept a DELETE request to /contacts/:id/organization/:orgId.
$resource DELETE with request body issue: angular/angular.js#8567
The text was updated successfully, but these errors were encountered: