Created
September 21, 2017 10:49
-
-
Save d3ep4k/b81577e517f7ddd5697515c51baeb808 to your computer and use it in GitHub Desktop.
AJAX POST Metamug
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
var ajax = new XMLHttpRequest(); | |
ajax.open('POST','https://api.metamug.com/backend/v1.0/resource'); | |
ajax.onload=function(){ | |
console.log(xhr.responseText); | |
} | |
ajax.send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment