JavaScript XMLHttpRequest
XMLHttpRequest is a JavaScript object type that can be used to retrieve a resource via a URL. Despite the Http
in the name of the type, an XMLHttpRequest object can be used to retrieve resources via various protocols including the
- http,
- ftp, and
- file protocols.