Skip to content

Add content-type to copied curl command #426

@lordnynex

Description

@lordnynex

if (['POST', 'PUT'].indexOf(method) >= 0) {

I stumbled across this issue when using the cURL button to craft some update by queries. It would be nice if it added -H 'content-type: application/json'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions