Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$resource body data not supported for DELETE method - undocumented #12133

Closed
rcollette opened this issue Jun 16, 2015 · 1 comment
Closed

$resource body data not supported for DELETE method - undocumented #12133

rcollette opened this issue Jun 16, 2015 · 1 comment

Comments

@rcollette
Copy link

The documentation for $resource states that all non-GET action methods support postData, however, looking in the code, the resourceFactory function sets a variable called hasBody and does not include the DELETE method. I'm not sure why it would be excluded, in addition to the documentation not indicating this.

See https://github.com/angular/bower-angular-resource/blob/master/angular-resource.js line 518

@pkozlowski-opensource
Copy link
Member

Duplicate of #8567, let's centralize the discussion in there.

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

No branches or pull requests

2 participants