Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
some fixes on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Alcadramin authored Dec 11, 2023
1 parent ace8db6 commit 34f5d7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

#
Expand Down

0 comments on commit 34f5d7c

Please sign in to comment.