--- a +++ b/modules/HTTPRequest/playground/requests.js @@ -0,0 +1,24 @@ +/* +function httpGet(theURL) { + var xmlHttp = new XMLHttpRequest(); + // xmlHttp.open("GET", theURL, false); // false for synchronous request + // xmlHttp.send(null); + return xmlHttp.responseText; + }; + +function runRequest() { + // var theURL = "http://512e08c6.ngrok.io/admin/"; + // var result = httpGet(theURL); + console.log(result); + return; + }; + +function getV1(){ + // var theURL = "http://dlforcancertherapy.cf/"; + // var result = httpGetAsync(theURL, getV1Callback); + + +}; + +//runRequest(); +*/ \ No newline at end of file