# with api key curl -X POST https://box.aelpxy.dev/upload \ -H "Authorization: Bearer YOUR_API_KEY" \ -F "file=@photo.png" # guest (no key, max 100.00 MB) curl -X POST https://box.aelpxy.dev/upload \ -F "file=@photo.png"
# with api key curl -X POST https://box.aelpxy.dev/paste \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: text/plain" \ --data-binary "hello world" # pipe from stdin cat notes.txt | curl -X POST https://box.aelpxy.dev/paste \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: text/plain" \ --data-binary @- # guest echo "hello" | curl -X POST https://box.aelpxy.dev/paste \ -H "Content-Type: text/plain" \ --data-binary @-
# use the delete_url from the upload response
curl -X DELETE "https://box.aelpxy.dev/f/FILENAME?key=DELETE_KEY"
{
"url": "https://box.aelpxy.dev/f/abc123_file.png",
"delete_url": "https://box.aelpxy.dev/f/abc123_file.png?key=...",
"filename": "abc123_file.png",
"size": 12345,
"sha256": "e3b0c44..."
}
download the sharex config and replace YOUR_API_KEY with your actual key.
guest: 100.00 MB per file · authenticated: 5.00 GB per file · file ttl: 168h0m0s