forked from Kieran/void.cat
Include api key doc for curl command
This commit is contained in:
parent
2dac9be1c1
commit
dcd1031dcf
@ -50,6 +50,11 @@ vcu() {
|
|||||||
|
|
||||||
Uploading from cli will simply become `vcu memes.jpg`
|
Uploading from cli will simply become `vcu memes.jpg`
|
||||||
|
|
||||||
|
You can also upload files to your user account by specifying an API key in the curl command:
|
||||||
|
```bash
|
||||||
|
-H "Authorization: Bearer MY_API_KEY"
|
||||||
|
```
|
||||||
|
|
||||||
This command will return the direct download URL only.
|
This command will return the direct download URL only.
|
||||||
To get the json output simply remove the `?cli=true` from the url.
|
To get the json output simply remove the `?cli=true` from the url.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user