diff --git a/USINGCODEX.md b/USINGCODEX.md index e3c0e4e..feebdb9 100644 --- a/USINGCODEX.md +++ b/USINGCODEX.md @@ -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.