paste-service Usage with curl (replace TOKEN and https://qwerr.cc): # Upload a file (random key) curl -H "Authorization: Bearer TOKEN" \ --data-binary @./report.pdf \ -H "Content-Type: application/pdf" \ -H "X-Filename: report.pdf" \ https://qwerr.cc/ # Upload text and get a URL back curl -H "Authorization: Bearer TOKEN" \ --data-urlencode "text=hello world" \ https://qwerr.cc/ # Upload with a custom key (PUT replaces, POST refuses if exists) curl -H "Authorization: Bearer TOKEN" \ -X PUT --data-binary @./notes.md \ https://qwerr.cc/notes # Multipart file upload curl -H "Authorization: Bearer TOKEN" \ -F file=@./photo.jpg \ https://qwerr.cc/photo # Download curl https://qwerr.cc/notes -o notes.md curl https://qwerr.cc/notes/raw # force text/plain # Delete curl -X DELETE -H "Authorization: Bearer TOKEN" https://qwerr.cc/notes # List (JSON for curl, HTML in a browser) curl -H "Authorization: Bearer TOKEN" https://qwerr.cc/_list open https://qwerr.cc/_list?token=TOKEN