Skip to content

Instantly share code, notes, and snippets.

@bdkosher
Created March 7, 2017 15:23
Show Gist options
  • Select an option

  • Save bdkosher/37f85d5a818a78ac90f6fa34efc5e743 to your computer and use it in GitHub Desktop.

Select an option

Save bdkosher/37f85d5a818a78ac90f6fa34efc5e743 to your computer and use it in GitHub Desktop.
Snippet for making AJAX request from Chrome DevTools console
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