XMLHttpRequest is an API that has methods and properties used by various scripting languages such as JavaScript, VBScript for manipulating and transferring XML data using HTTP protocol connecting client and server.
Various formats supported by XMLHttpRequest for data transfer are XML, JSON, plain text, and even binary content. XMLHttpRequest object help update parts of the webpage without reloading the page. It recognizes events that occur during the processing of the request.