Added
Upload a file with auto-generated password:
$ curl -F "protected=@secret.txt" "<server_address>"
https://paste.site.com/secret.txt
Password: aBcD1234EfGh5678IjKl9012Download with Bearer token:
$ curl -H "Authorization: Bearer aBcD1234EfGh5678IjKl9012" https://paste.site.com/secret.txtOr with Basic Auth:
$ curl -u "user:aBcD1234EfGh5678IjKl9012" https://paste.site.com/secret.txtNote
Protected files cannot be combined with other paste types (oneshot, URL). The password is permanently tied to the file and cannot be changed. If the password is lost, the file becomes inaccessible. Password files are deleted automatically when the main file is deleted or expires.
- Add item type to /list endpoint by @Bit38 in #587
- Support deletion of all item types by @tessus in #592