capabilities.work

Upload an object to an R2 bucket

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

Get something done

Upload an object to an R2 bucket

Use Cloudflare R2: its Cloudflare R2 Cloudflare R2 Object API lets you upload an object to an R2 bucket in a single step (PUT /accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}). capabilities.work can help you get signed up and connected.

  • How do I upload a file to an R2 bucket?
  • What is the maximum size of an object I can upload this way?
Say it to your AI assistant
  • Upload {object_key} to bucket {bucket_name} on account {account_id}.
  • Put {object_key} in {bucket_name} on account {account_id} with storage class {storage_class}.
For your developer

PUT /accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key} in Cloudflare R2 Cloudflare R2 Object API. Full spec on APIs.io.