English
XMLHttpRequest
Sign in to saveAlso known as XHR
' (XHR') is an API in the form of a JavaScript object whose methods transmit HTTP requests from a web browser to a web server. The methods allow a browser-based application to send requests to the server after page loading is complete, and receive information back. XMLHttpRequest is a component of Ajax programming. Prior to Ajax, hyperlinks and form submissions were the primary mechanisms for interacting with the server, often replacing the current page with another one.
Wikidata facts
- Official website
- www.w3.org/TR/XMLHttpRequest
- Has use
- AJAX
Show 6 more facts
- Stack Exchange tag
- stackoverflow.com/tags/xmlhttprequest
- mascot
- Ajax the Great
- standards body
- Web Hypertext Application Technology Working Group
- source code repository URL
- github.com/whatwg/xhr
- discoverer or inventor
- Microsoft
- short name
- XHR
Sources (2)
via Wikidata · CC0
~6 min read
Encyclopedic overview
10 sectionsContents
- History
- Standards
- Usage
- Cross-domain requests
- Fetch alternative
- Example
- See also
- References
- Notes
- External links
' (XHR') is an API in the form of a JavaScript object whose methods transmit HTTP requests from a web browser to a web server. The methods allow a browser-based application to send requests to the server after page loading is complete, and receive information back. XMLHttpRequest is a component of Ajax programming. Prior to Ajax, hyperlinks and form submissions were the primary mechanisms for interacting with the server, often replacing the current page with another one.
==History== The concept behind XMLHttpRequest was conceived in 2000 by the developers of Microsoft Outlook. The concept was then implemented within the Internet Explorer 5 browser (1999). However, the original syntax did not use the XMLHttpRequest identifier. Instead, the developers used the identifiers ActiveXObject("Msxml2.XMLHTTP") and ActiveXObject("Microsoft.XMLHTTP"). As of Internet Explorer 7 (2006), all browsers support the XMLHttpRequest identifier.
Excerpted from Wikipedia’s “XMLHttpRequest” article, available under the CC BY-SA 4.0 licence.