- Fri Jul 17, 2015 4:33 pm
#23526
Read the HTTP RFCs and the Wikipedia article on this, plus the many examples out on web. If you use Ff or Chrome, there is an inbuilt diagnostic mode so you can analyse these exchanges between a client and an HTTP server. Essentially the client sends a bunch of HTTP headers following the GET or POST request (in the same record in the case of HTTP 1.1 which the server must parse (in your case the content of the
pl field, and then having processed them your app must reply with its own headers and optional content.
All straight forward with a little bit of reading up on the material out there on the internet.
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