/tmp/store

Temporary File Storage

API Docs

Endpoint

POST https://tmpstore.org/api/v1/upload

Parameters

Parameter Required Description
file Yes File to upload, max 50 MB
expire No Seconds until deletion (60–14400), default 600

Response

{
 "status": "success",
 "data": {
  "url": "https://tmpstore.org/{id}/{name}"
 }
}

Example

curl -F "file=@/path/to/test.jpg" \
     https://tmpstore.org/api/v1/upload

Example with expire

curl -F "file=@/path/to/test.jpg" \
     -F "expire=21600" \
     https://tmpstore.org/api/v1/upload