cURL
curl --request POST \ --url https://api.example.com/api/v1/files
Upload a file to Stashy storage
Content-Type
curl -H "Authorization: Bearer $API_KEY" \ -X POST http://localhost:8080/api/v1/files \ -H "Content-Type: image/png" \ --data-binary @photo.png
{ "id": "V1StGXR8_Z5jdHi6B-myT" }
id
/{id}