DEV Community 👩‍💻👨‍💻

DEV Community 👩‍💻👨‍💻 is a community of 968,873 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for How to use fetch in JavaScript: GET, POST, PUT and DELETE requests
Jimmy Willams
Jimmy Willams

Posted on

How to use fetch in JavaScript: GET, POST, PUT and DELETE requests

https://www.youtube.com/watch?v=hOXWY9Ng_KU

In this video tutorial, I cover how to use the Fetch API in JavaScript to make all types of request: GET, POST, PUT and DELETE requests,

Also covered are two ways to handle errors: using a catch() statement and query res.ok on the response object.

Top comments (2)

Collapse
 
stndc profile image
STNDC

Nice video!!

Collapse
 
jimmywilliams profile image
Jimmy Willams Author

Thank you :)

"I made 10x faster JSON.stringify() functions, even type safe"

☝️ Must read for JS devs