#!/bin/sh set -x resp1=$(cat createuser.json | curl -s -H "Content-Type: application/json" http://192.168.100.227:8080/signup --data @- | jq .created) z=$(echo $resp1 | grep true) test -z $z && exit echo User Created: $resp1 | grep true