#!/bin/bash curl --header "Content-Type: application/json" --request POST \ http://ip-172-31-29-117:8688/rtdmp/alive if [[ $? -ne 0 ]];then exit 255 fi