Re: lhttpd.lua Port to ESP8266
Posted: Wed Dec 03, 2014 4:47 am
thank you for sharing. I did some test. firstly it's working with lua request like this
but post request not working. and its crashing when wrong file request like " test.html". we need some change.
Code: Select all
or <?lua print("Free Ram: "..node.heap().."<br>") print("Chip Id: "..node.chipid()) ?>
Code: Select all
<?lua if (gpio.read(0) == 1) then print("high"); else print("low"); end ?><br>
<?lua if (gpio.read(1) == 1) then print("high"); else print("low"); end ?>
but post request not working. and its crashing when wrong file request like " test.html". we need some change.