Updating download endpoint curl (#212)

This commit is contained in:
Dmitriy Ryajov 2022-08-19 21:20:25 -06:00 committed by GitHub
parent 5aa42541b3
commit e48450d671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 "@<path to file>"
curl -vvv -H "content-type: application/octet-stream" -H Expect: -T "127.0.0.1:8080/api/codex/v1/upload" -X POST "<path to file>"
```
### `/api/codex/v1/info`