Created
June 24, 2020 03:32
-
-
Save night-fury-rider/92422fa7c1290e2fe9beef73d4c4b90a to your computer and use it in GitHub Desktop.
Basic HTTP Call
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
var uvHttp = new XMLHttpRequest(); | |
uvHttp.onreadystatechange = function() { | |
console.log('HTTP state change callback executed'); | |
}; | |
uvHttp.open("GET", "/getUser", true); | |
uvHttp.send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment