DEV Community

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

Thank you :)