Created
March 7, 2017 15:23
-
-
Save bdkosher/37f85d5a818a78ac90f6fa34efc5e743 to your computer and use it in GitHub Desktop.
Snippet for making AJAX request from Chrome DevTools console
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
| new XMLHttpRequest() | |
| .addEventListener("load", function() { console.log(this.responseText); }) | |
| .open("GET", "/persons/1464126/addresses") | |
| .send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment