- Wed Dec 03, 2014 5:06 am
#3906
gerardwr wrote:alonewolfx2 wrote:thank you for sharing. I did some test. firstly it's working with lua request like this Code: Select all<?lua print("Free Ram: "..node.heap().."<br>") print("Chip Id: "..node.chipid()) ?>
or 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.
That's excellent news!
Will test later today. If this works as expected I will stop development on my own webserver, and continue with the migrated elua code.
How about you?
Agree. My favorite part of the elua webserver is just filename sending to the uart.and can be turned off.
Code: Select all.v,...ZbRS JzD@JStbgz
NodeMcu 0.9.2 build 20141202 powered by Lua 5.1.4
> index.html
index.pht
i think we could continue from elua. Here is to do list
1- Get or Post request handling
2- Adding some security
..
ESP8266.com Moderator
Lets get the party started and +1
[url=https://www.banggood.com/custlink/KvGGhGF4wG[/url]
I like ESP8266 and ESP8285 and ESP32