Fetch
Overview
The Fetch API provides a JavaScript interface for accessing and manipulating parts of the HTTP pipeline, such as requests and responses. It also provides a global fetch() method that provides an easy, logical way to fetch resources asynchronously across the network.
"The global fetch() method starts the process of fetching a resource
from the network,
returning a promise which is fulfilled once the response is available. The promise resolves to
the Response object
representing the response to your request." - MDN web
docs
Prepare
- Read 📝 Fetch Basics - What is AJAX and Fetch - WDD Learning Modules
- Reference 📑 JavaScript Fetch API - MDN web docs
Check Your Understanding
- Complete the activities presented in this resource: Fetch Basics - WDD Learning Modules