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.