From a3a6376741b9694a14721b6c21eaf05e4787441b Mon Sep 17 00:00:00 2001
From: Kath <55346310+Kathund@users.noreply.github.com>
Date: Mon, 15 Jan 2024 11:17:04 +0800
Subject: [PATCH] Update Readme to reflect headers change
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 6d56432..bc1a291 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
ShareX-API
-API Thats designed for use with ShareX to upload your files to a webserver.
+API Thats designed for use with ShareX to upload your files to a web server.
This ShareX-API is designed to use the Custom Uploader feature that is build into ShareX. This API is designed to be used as a cdn for your files. The API is built using Express for the backend.
@@ -35,7 +35,7 @@ git clone https://github.com/Kathund/ShareX-API.git
npm install
```
-3. Setup Config by renamming the `config.example.json` to `config.json` and filling in the required information.
+3. Setup Config by renaming the `config.example.json` to `config.json` and filling in the required information.
4. Start the API by running the following command:
```bash
@@ -58,7 +58,7 @@ To setup your new ShareX API and make it work with ShareX you will need to do th
"RequestMethod": "POST",
"RequestURL": "URL_OF_THE_CDN/save/{filename}",
"Headers": {
- "API-KEY": "API_KEY"
+ "api-key": "API_KEY"
},
"Body": "MultipartFormData",
"FileFormName": "files[]",