该介绍目前仅提供英文版本。
R2 stores large amounts of unstructured data without egress fees. This tutorial binds a bucket to a Worker, serves files from it, and adds an upload route that only accepts requests with an Authorization header matching your secret.
What you’ll learn
- Create an R2 bucket and bind it to a Worker
- Fetch objects from the bucket
- Upload securely with an authorization check
- Deploy
Cloudflare products used
R2, Workers.
Follow the full, step-by-step tutorial in Cloudflare’s documentation.