👉 NEW React & Next.js Course: [ Ссылка ]
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship). I'll help you master the latest tech here:
👉 NEW React & Next.js Course: [ Ссылка ]
👉 Professional JavaScript Course: [ Ссылка ]
👉 Professional CSS Course: [ Ссылка ]
👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (BIG update soon): [ Ссылка ]
⏱️ Timestamps:
0:00 - Intro
0:11 - GET-request with traditional syntax (.then & .catch)
6:18 - GET-request with modern syntax (async / await & try / catch)
10:50 - Side-by-side comparison
11:01 - POST-request with async/await
13:22 - PUT-request with async/await
14:02 - DELETE-request with async/await
14:24 - Improvements
#fetch #fetchapi #asyncawait #javascript #js
Fetch API with Async/Await (GET, POST, PUT, DELETE)
Теги
fetch api async awaitasync/awaitasync awaitjs async/awaitjs async awaitfetch()fetch apifetch() async awaitfetch() async/awaitfetch async awaitfetch awaitjavascript fetch api async-awaitasync-awaitasync js tutorialfetch promiseasync await javascriptweb developmentprogrammingfetch api tutorialasync await tutorialfetch crash courseasync await crash coursefetch promises vs async awaitpromises or async awaitpromises vs async/await