Created
April 16, 2020 18:01
-
-
Save maagmirror/1627d2cb6c37a8a04240cab0e00fa96f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = "http://nibiru.com.uy:3000/[email protected]"; | |
function httpGet(url){ | |
var xmlHttp = new XMLHttpRequest(); | |
xmlHttp.open( "GET", url + "&token=xxxxx", false ); // false for synchronous request | |
xmlHttp.send( null ); | |
return xmlHttp.responseText; | |
} | |
console.log(httpGet(url)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment