From 7ff26c5d932beb0fe40998695550d15035e5544f Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Mon, 19 Aug 2024 13:03:24 -0300 Subject: [PATCH] feat: add curl command to readme --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2d26d69..9ee7f1a 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,14 @@ note: this is a project made for learning purposes, you should use other more ma - edit consts in `main.go` to match your needs. (for example, on my server, change `$url` so that the response will be nicely formatted) - to run it, either build with `go build -o abyss` or run it directly with: -``` +```bash go run ./main.go ``` + +- then, simply upload your images with curl: +```bash +curl -X POST -F "image=@/path/to/image" http://localhost:8080/upload # default path +``` ## todo: - add upload of logs funcionality (like 0x0.st) - add docker easy setup