Similarly, the XMLHttpRequest (XHR) API, named for XML, can be used to make many kinds of requests and supports other forms of data.
Remember, we use GET to retrieve data from a source. Take a look at the boilerplate code in the diagram to see how to make an XHR GET request.
We’ll construct this template from scratch in a different exercise and walk through what each step does.
Move on to the next exercise when you’re ready!