Update Download to reflect API changes (#48)

This commit is contained in:
Slava 2024-10-22 12:46:00 +03:00 committed by GitHub
parent 255660cd1e
commit 929a51084c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ CID="..."
```
```shell
curl "http://localhost:8080/api/codex/v1/data/${CID}/network" \
curl "http://localhost:8080/api/codex/v1/data/${CID}/network/stream" \
-o "${CID}.png"
```
@ -194,7 +194,7 @@ set CID="..."
```
```batch
curl "http://localhost:8080/api/codex/v1/data/%CID%/network" ^
curl "http://localhost:8080/api/codex/v1/data/%CID%/network/stream" ^
-o "%CID%.png"
```