I want to use the ESP8266 as a client and run a web server on the computer that will send the ESP8266 commands to turn on and off the GPIO 8. Someone has maybe an example of code for the web server that I have to run on the computer that with a use of Ajax and JSON sends commands to turn on and off and a code for the ESP8266 to get this JSON command and turn on and off the GPIO? It'll really help me, I need it so much.
Thanks everyone