XMLHTTPRequest

The XMLHTTPRequest class is a built-in browser API that allows you to send HTTP requests in JavaScript.

It is commonly used to retrieve data from a server without needing to refresh the page. In modern JavaScript programs, it is much more common to rely on the fetch library, but it is still important to understand XMLHTTPRequest for maintaining existing software.

Loading TypeScript...

Was this page helpful?