Good evening to all developers!
I have the arduino uno and I found the new web server from Arduino Playground - WebServerST #. Uzmwuqh_tA0.
I can not customize my old web server in the above example. More specifically, I have a problem in server response from the client in ajax inpouts. Could anyone help me? The major trouble is this: When the http request (that will come from the client and will be /ajax_inputs or /ajax_inputs$LED1=1 or /ajax_inputs$LED1=0.....) how will recognize and sends it on 2 function I have?(SetLEDs(); and XML_response(); )
and this is the new web server code I mentioned. I've changed trying to adapt it to my requirements.
New_WebServer.ino
This is my html file and works perfect in my old web server code
index.htm
this is my old webserver code
eth_websrv_SD_Ajax_in_out_all_off.ino
New_WebServer.ino (17.1 KB)
eth_websrv_SD_Ajax_in_out_all_off.ino (9.86 KB)
index.htm (9.16 KB)