Skip to content

It doesn't seem possible to POST application/json data #214

@mscha

Description

@mscha

I'm trying to create a POST request like:

POST /foo HTTP/1.1
Content-Type: application/json
Host: example.com

{"foo":1, "bar": 2}

As far as I can figure out, this is not currently possible.
If I set the Content-Type header of the request to 'application/json', add-form-data seems to do nothing at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions