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.

Unable to set content-type request header for delete method. #2149

Closed
@jaswant-ghuraiya

Description

@jaswant-ghuraiya

I tried as below approach-

$httpProvider.defaults.headers["delete"] = {'Content-Type': 'application/json;charset=utf-8'};

My request doesn't have any body. And the actual request header is always taking "content-type" as "text/plain".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions