you can use this as a mechanism for javascript to dynamical push and pull information from the esp to the browser.
THis javascript function allows for a url to be retrieved and laced in to a variable. Java script can do any thing it wants with that variable.
Also depending on how you format the url you can send information to the esp.
http://www.esp8266basic.com/msg-url-usage.html
http://www.esp8266basic.com/msg-url-advanced.html
function httpGet(theUrl)
{
var xmlHttp = new XMLHttpRequest();
xmlHttp.open( "GET", theUrl, false ); // false for synchronous request
xmlHttp.send( null );
return xmlHttp.responseText;
}
http://esp8266basic.com
A BASIC interpreter for your ESP
Working now on Autodrop3d. A 3d printer with automatic part ejection system. https://autodrop3d.com