Source Code:
Result:
Using the HttpRequest Object
status:
status text:
response:
Edit the code above and click "Submit Code" to see the result.
W3Schools.com
- Try it yourself