Thanks to visit codestin.com
Credit goes to developer.mozilla.org

XMLHttpRequest (XHR)

XMLHttpRequest (XHR) is a JavaScript API to create HTTP requests. Its methods provide the ability to send network requests between the browser and a server.

The Fetch API is the modern replacement for XMLHttpRequest.

See also