cURL
curl --request PUT \ --url https://storage-api.salad.com/organizations/{organization_name}/files/{filename+} \ --header 'Content-Type: multipart/form-data' \ --header 'Salad-Api-Key: <api-key>' \ --form 'mimeType=<string>' \ --form 'sign=<string>' \ --form 'signatureExp=<string>' \ --form file=@example-file
{ "url": "<string>" }
The file to upload
The MIME type of the file
"true" to return a signed url
The expiration ttl of the signature in seconds. Default is 30 days.
File uploaded successfully
Was this page helpful?