
XMLHttpRequest
Web API to transfer data between a web browser and a web server / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about XMLHttpRequest?
Summarize this article for a 10 years old
SHOW ALL QUESTIONS
XMLHttpRequest (XHR) is a JavaScript class[lower-alpha 1] containing methods to asynchronously transmit HTTP requests from a web browser to a web server.[1] The methods allow a browser-based application to make a fine-grained server call and store the results in XMLHttpRequest's responseText
attribute.[2] The XMLHttpRequest class is a component of Ajax programming. Prior to Ajax, an HTML form needed to be completely sent to the server followed by a complete browser page refresh.[2]
Web API to transfer data between a web browser and a web server
HTTP |
---|
![]() |
Request methods |
Header fields |
Response status codes |
Security access control methods |
Security vulnerabilities |