cURL
curl --request POST \ --url https://storage-api.salad.com/organizations/{organization_name}/file_tokens/{filename+} \ --header 'Content-Type: application/json' \ --header 'Salad-Api-Key: <api-key>' \ --data '{ "method": "GET", "exp": "3600" }'
{ "url": "<string>" }
The HTTP method to sign the URL for. Currently only supports GET
"GET"
The expiration ttl of the signed URL in seconds
"3600"
Signed URL generated successfully
Was this page helpful?