Hello everyone,
I try to post request from my server (Nodejs) to my server (esp8266-01) in order to send command to arduino like switch on or off led.
I start the server with CIPSERVERSTART, when i get request to the ip adress i have this informations:
Host: 192.168.0.22:3000
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9
Accept-Encoding: gzip, deflate
Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
So the server is working, the problem is i don't know how to post a request and use the information to switch on or off a led..
All the ESP8266-01 communicate throught AT command.
Thanks a lot for your help