Skip to content

Raw Post-Data not handled #3

@jakobklein

Description

@jakobklein

When I send a POST-Body that is neither form-data nor x-www-formurlencoded but just raw data, server.args(); returns 0 and I cannot access the data.
Example: { "name": "foo" }
or
curl --location --request POST 'https://192.168.178.32/echo' --header 'Content-Type: application/json' --data-raw '{ "name": "foo" }'
WebServer.h got me the raw data by calling server.arg(0)

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