From 34f5d7c247732d61dad41f12ca869ef3ad59bcac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Berkcan=20U=C3=A7an?= Date: Mon, 11 Dec 2023 04:12:01 +0300 Subject: [PATCH] some fixes on readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fa3c559..87024f9 100644 --- a/README.md +++ b/README.md @@ -8,17 +8,17 @@ It's basically a RESTful service. There is no complex auth mechanism such as JWT # -- Get image: +- Get the file: - `GET: http://localhost:8080/myimage.png` -- Upload image: +- Upload a file: - `POST: http://localhost:8080/u?token=super-secret` - - **CURL**: `curl -F "image=@myimage.png" http://localhost:8080/u` + - **CURL**: `curl -F "file=@myimage.png" http://localhost:8080/u` - **file** key is required. -- Delete image: +- Delete the file: - `GET: http://localhost:8080/d/myimage.png?token=super-secret` #