From dcd1031dcfdd0e62d858a9a098457b9f89c3e873 Mon Sep 17 00:00:00 2001 From: Kieran Date: Fri, 9 Sep 2022 12:54:19 +0100 Subject: [PATCH] Include api key doc for curl command --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index fbdce99..ecade4e 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,11 @@ vcu() { 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. To get the json output simply remove the `?cli=true` from the url.