From e48450d67146aebce065a797ea7e8b1550f5e9d0 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Fri, 19 Aug 2022 21:20:25 -0600 Subject: [PATCH] Updating download endpoint curl (#212) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09f38c7d..2d765d0d 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Upload a file, upon success returns the `Cid` of the uploaded file. Example: ```bash -curl -vvv -H "Tranfer-Encoding: chunked" "127.0.0.1:8080/api/codex/v1/upload" -X POST --data-binary "@" +curl -vvv -H "content-type: application/octet-stream" -H Expect: -T "127.0.0.1:8080/api/codex/v1/upload" -X POST "" ``` ### `/api/codex/v1/info`