docs(readme): update README.md about one shot file uploads

This commit is contained in:
orhun 2021-08-26 23:13:32 +03:00
parent 7a510bc2ad
commit 0138cff440
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -19,6 +19,7 @@ some text
- random file names (optional)
- pet name (e.g. `capital-mosquito.txt`)
- alphanumeric string (e.g. `yB84D2Dv.txt`)
- one shot links (file _disappears_ after accessed)
- guesses MIME types
- supports overriding and blacklisting
- Single binary
@ -52,6 +53,12 @@ $ rpaste x.txt
$ rpaste -
```
#### One Shot
```sh
curl -F "oneshot=@x.txt" "<server_address>"
```
#### URL Shortening
```sh
@ -133,7 +140,6 @@ http {
### Roadmap
- Support "disappearing" files
- Support setting an expiry date for uploads
- Write a CLI tool in Rust