What is the Fetch API? You have probably seen the fetch()
method being used in JavaScript. How does it work and what has the then()
& catch()
do with it?
In the video below, I'll explain the following:
- What is the Fetch API and how does it work
- How to retrieve data from an API
- Get the data in JSON format
- What is the purpose of the
.then()
and.catch()
Discussion (0)