get_upload_url
Generate a presigned URL for uploading a photo directly to R2. Provide file name and MIME type (JPEG, PNG, WebP, GIF) to receive a secure upload link.
Instructions
Get a presigned URL to upload a photo directly to R2. API token required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | Yes | The name of the file to upload | |
| content_type | Yes | The MIME type of the file (image/jpeg, image/png, image/webp, image/gif) |