static string HttpGet(string theUrl) { var xmlHttp = new XMLHttpRequest(); xmlHttp.Open("GET", theUrl, false); // false for synchronous request xmlHttp.ToDynamic().send(null); return(xmlHttp.ResponseText); }
static string HttpGet(string theUrl) { var xmlHttp = new XMLHttpRequest(); xmlHttp.Open("GET", theUrl, false); // false for synchronous request xmlHttp.ToDynamic().send(null); return(xmlHttp.ResponseText); }