Commit e9fda996 authored by qa_quantgroup's avatar qa_quantgroup

up

parent 1a10738b
...@@ -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 -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 "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