Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST DELETE should not expect a RequestBody #43

Closed
andrew-d-taylor opened this issue Jul 20, 2015 · 1 comment
Closed

REST DELETE should not expect a RequestBody #43

andrew-d-taylor opened this issue Jul 20, 2015 · 1 comment
Assignees

Comments

@andrew-d-taylor
Copy link
Collaborator

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

@andrew-d-taylor
Copy link
Collaborator Author

Closed with commit: 01be2e8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant