Created
February 7, 2019 14:36
-
-
Save JHarry444/85e9d0e2c0ec8c96e378032f10acf1be 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
let xhr = new XMLHttpRequest(); | |
xhr.open("GET", "api/movie/getAllMovies"); | |
xhr.onload = () => { | |
document.write(xhr.responseText); | |
} | |
xhr.send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment