Browse Source

Quote body

master
John Locke 9 years ago
parent
commit
3044eebd3e
  1. 6
      bin/out

6
bin/out

@ -72,10 +72,10 @@ EOF
elif [[ "$silent" == "true" ]] elif [[ "$silent" == "true" ]]
then then
echo "Using silent output" echo "Using silent output"
curl -s -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d ${compact_body} "${matrix_endpoint}"
curl -s -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d "${compact_body}" "${matrix_endpoint}"
else else
echo curl -v -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d ${compact_body} "${matrix_endpoint}"
curl -v -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d ${compact_body} "${matrix_endpoint}"
echo curl -v -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d "${compact_body}" "${matrix_endpoint}"
curl -v -X PUT --header 'Content-Type: application/json' --header 'Accept: application/json' -d "${compact_body}" "${matrix_endpoint}"
fi fi
fi fi

Loading…
Cancel
Save