XML TutorialLesson 10Free preview
XML HttpRequest
This lesson is part of XML · All levels
Summary
XMLHttpRequest is a browser-built object that allows web pages to send and receive data from servers asynchronously without reloading pages. Despite its XML name, this object can send and receive a variety of formats such as text or JSON. This concept is the backbone of AJAX.
Key points
- XMLHttpRequest allows asynchronous communication of pages with servers
- Requests are sent to the server URL without page reloading
- The response can be XML, text, or JSON
- This object became the basis of the AJAX mechanism.
- Response status is read through properties such as status and readyState
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.