What is XMLHttpRequest? - It is an API that is used by JavaScript and some other scripting languages to transfer data (XML/plain text) "to-and-from" a web server over HTTP. - You can make a call from an html page also. In the following example we are