As the title says... Chat on...

User avatar
By BAstudio
#66106 Dear friends

I'm coming from a perl/basic background and only learned of the existence of Lua a couple of days ago. I'm looking for a good method to split input from a post form that I served up from the nodemcu.(netcreateerver) Its just a simple 3 value form, a string a number and a on/off. I have no problem getting it but I only want the values and not all the extra headers that come with. In perl we just split the post into a nice array and call them in the script as $input{Username} but I have no idea how to do this in Lua. I just have payload, all the headers and then the last line is the form data which is what I want.