From 9ddf043c17de65e40d060c94068838382db4d0a8 Mon Sep 17 00:00:00 2001 From: Solninja A Date: Tue, 31 Dec 2024 20:17:13 +1000 Subject: [PATCH] Fix typos, etc --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 67404cf..a31b59f 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ The server will send a confirmation. **This is required for programs that rely on a JSON response from Chhoto URL** In order to use API key validation, set the `api_key` environment variable. If this is not set, the API will default to cookie validation (see section above). -If the API key is insecure, a warning will be outputted. Aditionally, in this situation, a generated API key will be outputted which may be used. +If the API key is insecure, a warning will be outputted along with a generated API key which may be used. To add a link: ``` bash @@ -203,7 +203,7 @@ curl -H "Chhoto-Api-Key: " http://localhost:4567/api/all To delete a link: ``` bash -curl -X DELETE -H "Chhoto-Api-Key: http://localhost:4567/api/del/" +curl -X DELETE -H "Chhoto-Api-Key: " http://localhost:4567/api/del/ ``` Where `` is name of the shortened link you would like to delete. For example, if the shortened link is `http://localhost:4567/example`, `` would be `example`.