- Mon May 18, 2015 9:53 am
#17749
Yes, just the same way as in any other language. The HTML standard defines two methods for embedding field data: GET and POST, and this is pasted to the URI defined in the form. Text fields are encoded and will need to be decoded. There are lots of examples out there. You can even find examples of minimal Lua webservers, including for this chip.
The main issue that you will have is that you will have to get your implementation working within the ESP8266 memory constraints, and this will be your main challenge.
One way of approaching this is to first write and debug the URI decoder in Lua on your dev PC before porting it to the nodeMCU environment.
Please see my
Developer FAQ for Q&A on nodeMCU Lua before asking a question here that's already been answered. This and the other official documentation should be your first reference for developing Lua Apps