Last active
August 29, 2015 14:16
-
-
Save codenamejason/e63fc2469cb07e58fb7b to your computer and use it in GitHub Desktop.
Check site status
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
The four verbs of API's | |
1. GET | |
2. PUT | |
3. POST | |
4. DELETE |
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 xhr = new XMLHTTPRequest(); | |
xhr.open("GET", " web address", false); | |
xhr.send(); | |
console.log(xhr.satus); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment