mirror of
https://github.com/fluencelabs/fluid
synced 2025-06-20 16:46:30 +00:00
step2 fixes
This commit is contained in:
@ -32,8 +32,8 @@ JSON
|
||||
# Send json as a request, and receive result
|
||||
RESPONSE=$(curl -s 'http://localhost:30000/apps/1/tx' --data $'sessionId/0\n'"$JSON" --compressed | jq -r .result.data | base64 -D)
|
||||
|
||||
# Parse result as JSON and print to console
|
||||
echo -e "$RESPONSE" | jq .
|
||||
# Parse json or print response as is
|
||||
echo "$RESPONSE" | jq . 2>/dev/null || echo "$RESPONSE"
|
||||
|
||||
# Remove frun container
|
||||
echo -e "Stopping..."
|
||||
|
Reference in New Issue
Block a user