Upload successful:

API & CLI Examples

Text Paste (Directly)
echo "Hello World" | curl -H "Authorization: TOKEN" -F "file=@-" https://your-domain.tld
File Upload
curl -H "Authorization: TOKEN" -F "file=@/path/to/file.txt" https://your-domain.tld
Send Log Output (Pipe)
tail -n 100 /var/log/syslog | curl -H "Authorization: TOKEN" -H "expire: 1hours" -F "file=@-" https://your-domain.tld
One-Read (Oneshot)
curl -H "Authorization: TOKEN" -F "oneshot=@secret.pdf" https://your-domain.tld
Custom Filename
curl -H "Authorization: TOKEN" -H "filename: secret.txt" -F "file=@/path/to/file.txt" https://your-domain.tld
File Upload
wget --header="Authorization: TOKEN" --post-file=file.txt https://your-domain.tld
File Upload (PowerShell)
Invoke-RestMethod -Uri "https://your-domain.tld" -Method Post -Headers @{"Authorization"="TOKEN"} -InFile ".\file.txt"
Text Paste (PowerShell)
$text = "My text from Windows"
$bytes = [System.Text.Encoding]::UTF8.GetBytes($text)
Invoke-RestMethod -Uri "https://your-domain.tld" -Method Post -Headers @{"Authorization"="TOKEN"} -ContentType "application/octet-stream" -Body $bytes