Commit d931539d authored by 智勇's avatar 智勇

up

parent 28596af0
...@@ -25,7 +25,7 @@ do ...@@ -25,7 +25,7 @@ do
IP_host=`sh $pwd_path_0/get-ip.sh $ip_last_num` IP_host=`sh $pwd_path_0/get-ip.sh $ip_last_num`
#echo curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response "http://$IP_host:15672/api/definitions" #echo curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response "http://$IP_host:15672/api/definitions"
echo curl $IP_host ... echo curl $IP_host ...
curl -s -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response "http://$IP_host:15672/api/definitions" curl -s -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response -w "\n" "http://$IP_host:15672/api/definitions"
if [ $? != 0 ];then if [ $? != 0 ];then
echo "curl $IP_host failed" echo "curl $IP_host failed"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment