mirror of
https://github.com/amigan/rustypaste-pretty.git
synced 2024-11-21 20:09:48 -05:00
docs(readme): mention URL shortening
This commit is contained in:
parent
f3855be2c9
commit
11482ff59f
1 changed files with 7 additions and 1 deletions
|
@ -14,7 +14,7 @@ some text
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- File upload
|
- File upload & URL shortening
|
||||||
- supports basic HTTP authentication
|
- supports basic HTTP authentication
|
||||||
- random file names (optional)
|
- random file names (optional)
|
||||||
- pet name (e.g. `capital-mosquito.txt`)
|
- pet name (e.g. `capital-mosquito.txt`)
|
||||||
|
@ -51,6 +51,12 @@ $ rpaste x.txt
|
||||||
$ rpaste -
|
$ rpaste -
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### URL Shortening
|
||||||
|
|
||||||
|
```sh
|
||||||
|
curl -F "url=https://example.com/some/long/url" "<server_address>"
|
||||||
|
```
|
||||||
|
|
||||||
### Server
|
### Server
|
||||||
|
|
||||||
To start the server:
|
To start the server:
|
||||||
|
|
Loading…
Reference in a new issue