rpc.sh: add 5 sec timeout and --show-error flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
136323e10f
commit
2bd2112339
|
@ -29,6 +29,8 @@ PAYLOAD="{
|
|||
# The jq script checks if error exists and adjusts exit code.
|
||||
curl --request POST \
|
||||
--silent \
|
||||
--max-time 5 \
|
||||
--show-error \
|
||||
--fail-with-body \
|
||||
--header 'Content-type:application/json' \
|
||||
--data "${PAYLOAD}" \
|
||||
|
|
Loading…
Reference in New Issue