Fetching Data from the Server

Learn about server requests using XMLHttpRequest (XHR) and the Fetch API.

Fetching Data from the Server

In this article, you will learn how to fetch data from a server. This is helpful if you are interested in reviewing how to use JavaScript technologies like XMLHttpRequest (XHR) and the Fetch API to retrieve individual data items from a server to update parts of a webpage without having to completely reload the page.