POST /upload
Upload a file using multipart/form-data.
file (required) - The file to upload (max 300MB)
expire (optional) - Auto-delete after: 1h, 6h,
24h, 7d, 30d
# Permanent upload
curl -F "file=@image.png" https://zale.wtf/upload
# Auto-delete after 24 hours
curl -F "file=@image.png" -F "expire=24h" https://zale.wtf/upload
{
"success": true,
"url": "https://zale.wtf/uploads/abc123.png",
"filename": "abc123.png",
"size": 12345,
"expires": "2024-01-02T12:00:00Z" // only if expire was set
}
10 uploads per 15 minutes per IP address.
← Back to upload