Skip to content

Conversation

@voanhcuoc
Copy link
Contributor

Getting the body of a POST request is a very common use-case in ESP8266WebServer. But it's now undocumented and very hard to find out how without reading whole PostServer example or source code. So I document it in README.

Also, I think there should be a requestBody() method. It's more reasonable than arg("plain").

Copy link
Collaborator

@d-a-v d-a-v left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair request for the api

@d-a-v d-a-v merged commit 6626b2f into esp8266:master Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants