Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
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

@rcollette

Description

@rcollette

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions