-->
Page 1 of 1

Handle a post request as a server

PostPosted: Sat May 14, 2016 10:45 pm
by Solexious
I'm trying to find an example of getting data from a form sent as a post request as a server (not sending a post request to a server) but failing to find one. Anyone know how to do it/an example?

Best,

Sol

Re: Handle a post request as a server

PostPosted: Sun May 15, 2016 9:06 am
by martinayotte
Do you mean some example where the ESP is sending a form to a browser, and when submit button is press, the ESP would process then form contain ?
One of the simplest example is ESP8266WebServer/examples/SimpleAuthentification/SimpleAuthentification.ino where the form is the login user/password fields.
You can also search for a more complex one such as the WiFiManager where the form has several fields for setting up the STA connection.