6 Usage: $0 <test id> <step id> <test path> <address> <mock json> <method: POST|PUT|GET|DELETE> <uri>
14 control_post_request=$(mktemp)
15 cat << EOF > ${control_post_request}
33 CONTROL_URI=http://$4/aots-control/v1/ctrl/action/annotate
34 CURL="curl -s --http2-prior-knowledge"
35 ${CURL} -d@${control_post_request} -H "Content-Type: application/json" -X $6 ${CONTROL_URI}/serve_json >/dev/null
36 rm ${control_post_request}