docs(readme): mention URL shortening

This commit is contained in:
orhun 2021-08-04 17:49:57 +03:00
parent f3855be2c9
commit 11482ff59f
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90
1 changed files with 7 additions and 1 deletions

View File

@ -14,7 +14,7 @@ some text
## Features
- File upload
- File upload & URL shortening
- supports basic HTTP authentication
- random file names (optional)
- pet name (e.g. `capital-mosquito.txt`)
@ -51,6 +51,12 @@ $ rpaste x.txt
$ rpaste -
```
#### URL Shortening
```sh
curl -F "url=https://example.com/some/long/url" "<server_address>"
```
### Server
To start the server: