capabilities.work

Get an R2 bucket's CORS policy

One step with Cloudflare. We can help you get access.

Look something up

Get an R2 bucket's CORS policy

Use Cloudflare: its Cloudflare R2 Bucket API lets you get an R2 bucket's CORS policy in a single step (GET /accounts/{account_id}/r2/buckets/{bucket_name}/cors). capabilities.work can help you get signed up and connected.

  • Which origins, methods and headers are allowed for browser requests to my R2 bucket?
  • Can I read the CORS rules on an R2 bucket?
Say it to your AI assistant
  • Get the CORS policy for R2 bucket {bucket_name} in account {account_id}.
  • Show the CORS rules on {bucket_name}.
For your developer

GET /accounts/{account_id}/r2/buckets/{bucket_name}/cors in Cloudflare R2 Bucket API. Full spec on APIs.io.