But lets say I wanted to display the status of this on another website.
I could create a basic html page on my nodemcu that would show status of all of my GPIO's to do the following:
use an iframe and post it on my web page.
scrape the information off of the node mcu and post it at page load.
These things would work.
But is there a more direct way to communicate.
For instance lets say my code invoked the gpio to be read by an http request...
example http://deviceIPhere/gpio3=?
Does the http request allow for data to be returned like the status of the pin or is it limited to 200 ok 404 etc...
The question is if it is possible and how would I make the nodemcu respond with the pin info or does it automatically respond with this info by default possibly?
I am curious I will continue to look into http request and what is possible but maybe if I can break it down into the little things it will help me sort the bits out that I don't know both so I can address the whole picture easier in smaller steps and so that I don't overwhelm others with my larger questions which would be more of a pain to answer.
Any little bit helps and yes for all of those wondering I will use google and do research on this but in the mean time I wanted to jot this down in question form both for myself to answer and if anyone else feels like contributing they can as well but please do not feel pressured to do so and I only mention this because of some words that me and a couple other forum members have had about how things are handled maybe clarity will help people from getting all wound up about a simple question.... However, I understand at times clarity provides more context to take out of context as well so it is almost a lose lose battle but to that I say have fun fight the good fight I guess.
Where I buy my ESP8266 boards from... (Banggood)