mirror of https://git.envs.net/envs/help.git
update 0x0 alias
This commit is contained in:
parent
3e3ff6c28a
commit
ba13267e21
|
@ -19,12 +19,16 @@ or Content of a file:<br />
|
|||
add the following lines to you're aliases file `~/.bash_aliases`
|
||||
```bash
|
||||
0file() { curl -F"file=@$1" https://envs.sh ; }
|
||||
0pb() { curl -F'file=@-;' https://envs.sh ; }
|
||||
0url() { curl -F"url=$1" https://envs.sh ; }
|
||||
0short() { curl -F"shorten=$1" https://envs.sh ; }
|
||||
```
|
||||
HTTP POST files here:<br />
|
||||
`0file "yourfile.png"`
|
||||
|
||||
post your text directly:<br />
|
||||
`echo "text here" | 0pb`
|
||||
|
||||
you can also POST remote URLs:<br />
|
||||
`0url "https://example.com/image.jpg"`
|
||||
|
||||
|
|
Loading…
Reference in New Issue