diff --git a/validate_all.sh b/validate_all.sh index d4f9879a71cd425575b8164e1926194509eef34e..a564561b0243c73a90de048c8e5352773394cb6e 100644 --- a/validate_all.sh +++ b/validate_all.sh @@ -12,6 +12,7 @@ for json in *.json; do echo '{"application":' > $tempfile cat $json >> $tempfile echo '}' >> $tempfile + curl -s -X POST -H "Content-Type: application/json" -d @$tempfile -w "code:%{http_code}" $VALIDATION_URL if ! curl -s -X POST -H "Content-Type: application/json" -d @$tempfile -w "code:%{http_code}" -o $tempfile $VALIDATION_URL | grep 'code:200'; then printf "`cat $tempfile`" echo