cURL
curl --request POST \ --url https://api.fivemanage.com/api/presigned-url/{token} \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file' \ --form 'metadata=<string>'
{ "id": "7F9pGhN8qwErT1vx5aZk", "url": "https://r2.fivemanage.com/7F9pGhN8qwErT1vx5aZk.jpg" }
Upload a file using a presigned URL token
Presigned URL token
File to upload
File metadata (JSON string)
OK
"7F9pGhN8qwErT1vx5aZk"
"https://r2.fivemanage.com/7F9pGhN8qwErT1vx5aZk.jpg"
Was this page helpful?