Created
June 13, 2016 09:17
-
-
Save psiniemi/d2f8032b9652267b71683923c910ade0 to your computer and use it in GitHub Desktop.
This file contains 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
xhttp = new XMLHttpRequest(); | |
xhttp.onreadystatechange = function() { if (xhttp.readyState == 4 && xhttp.status == 200) { console.log(JSON.stringify(JSON.parse(xhttp.responseText), null, ' ')); } }; | |
xhttp.open("GET", "https://cdp6p0g7f1.execute-api.eu-west-1.amazonaws.com/v1/search?query=Länsi&chainId=5", true); | |
xhttp.send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment