Update curl upload command (#240)
This commit is contained in:
parent
5ec2e40a73
commit
bb6e812923
|
@ -129,7 +129,7 @@ Upload a file, upon success returns the `Cid` of the uploaded file.
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
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>"
|
curl -vvv -H "content-type: application/octet-stream" -H Expect: -T "<path to file>" "127.0.0.1:8080/api/codex/v1/upload" -X POST
|
||||||
```
|
```
|
||||||
|
|
||||||
### `/api/codex/v1/info`
|
### `/api/codex/v1/info`
|
||||||
|
|
Loading…
Reference in New Issue