[9fab9f]: / modules / HTTPRequest / playground / requests.js

Download this file

24 lines (19 with data), 517 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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();
*/