Commit 9b9a55f6 authored by daidekun's avatar daidekun

fix

parent f512d580
...@@ -14,7 +14,7 @@ echo "sleep 15" ...@@ -14,7 +14,7 @@ echo "sleep 15"
sleep 15 sleep 15
echo "get definitions from 192.168.4.15" echo "get definitions from 192.168.4.15"
response=$(curl -X GET -H "Authorization: Basic cWE6cWF0ZXN0" "http://192.168.4.15:15672/api/definitions") response=$(curl -X GET -H "Authorization: Basic cmFiYml0X2FkbWluOmFiYzEyMzQ=" "http://172.16.1.231:15672/api/definitions")
curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response "http://localhost:15672/api/definitions" curl -X POST -H "Content-Type: application/json" -H "Authorization: Basic cWE6cWF0ZXN0" -d $response "http://localhost:15672/api/definitions"
tail -f /tmp/rabbitmq.out tail -f /tmp/rabbitmq.out
\ No newline at end of file
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