Learn Fetch API In Detail

Опубликовано: 14 Ноябрь 2024
на канале: How to Become a Developer
1,834
60

Learn how to use the JavaScript Fetch API to gather, send, update, and delete data from an external source, handle errors, and understand async/await and promises in this comprehensive detailed tutorial.

✅ Fetch API:
https://developer.mozilla.org/en-US/d...

✅ API used in video:
https://jsonplaceholder.typicode.com/

✅ Build your next awesome project
https://www.tubebuddy.com/quicknav/la...

Timestamps:
00:00 - Fetch API | GET | POST | PUT | PATCH | DELETE
00:21 - Fetching data using the Fetch API
02:28 - Status codes
04:57 - JavaScript Promises explained
06:35 - Promise methods and status
07:37 - The Result of a Promise
08:08 - Converting the JSON response to JavaScript
10:06 - Getting a specific user by their ID
11:10 - Error handling in Fetch API
13:11 - Async Await syntax
15:10 - POST
18:05 - PUT
18:30 - PATCH
18:40 - DELETE