Make API Requests in a Workers Function Using the Fetch API

Share this video with your friends

Send Tweet

In this lesson, we'll use the fetch API to make requests inside of our Workers function to other servers and websites online. We'll learn about the different parameters and options that the fetch API takes to configure your requests and the data you can send along with it.

In this course, we'll use the Unsplash API to learn how to make API requests from Cloudflare Workers. If you haven't already created an account, you can do so at https://unsplash.com/developers.