Everything about Data Fetching & the JavaScript Fetch API.

Making a fetch request.

Fetch is a promise based api. To make a fetch request, use the fetch() function. It takes two arguments – first, the URL endpoint you want to send the request to. The second argument is optional and you can put additional properties, like headers, body, etc.


Discover more from MountAviary

Subscribe to get the latest posts sent to your email.

Leave a Reply

Your email address will not be published. Required fields are marked *