Hono Guide
React Guide
Usage
Setting up a server side API endpoint might look something like this:If you’re using the SDK you can use the
.url() parameter on any of the upload methods and pass in the signed upload URL there. If you are using the API you can simply make the upload request using the signed URL as the endpoint.Reference
Below are the availble parameters for presigned URLsexpires
- Type:
number
name (Optional)
- Type:
string
mimeTypes (Optional)
- Type:
string[]
maxFileSize (Optional)
- Type:
number
bytes
groupId (Optional)
- Type:
string
keyvalues (Optional)
- Type:
Record<string, string>
date (Optional)
- Type:
number