Update USINGCODEX.md

This commit is contained in:
Jaremy Creechley 2024-04-07 14:51:45 +03:00 committed by GitHub
parent 15c3af1322
commit abbb6cc549
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,15 +93,15 @@ Next you can run:
```shell
curl "http://localhost:8080/api/codex/v1/storage/request/$CID" \
--header 'Content-Type: application/json' \
--data "{
\"duration\": \"3600\",
\"reward\": \"1\",
\"proofProbability\": \"3\",
\"expiry\": \"$EXPIRY_TIME\",
\"nodes\": 2,
\"tolerance\": 1,
\"collateral\": \"1\"
}"
--data '{
"duration": "3600",
"reward": "1",
"proofProbability": "3",
"expiry": '"'${EXPIRY_TIME}'"',
"nodes": 2,
"tolerance": 1,
"collateral": "1"
}'
```
Note that the `\"` pieces are needed for the command to interperate properly.