mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-10-18 05:23:31 -04:00
docs(readme): mention URL shortening
This commit is contained in:
parent
f3855be2c9
commit
11482ff59f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user