-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels