To query rabbit's API using curl(e.g list all queues):
curl -u '<user>:<password>' -i -H "content-type:application/json" -X GET "http://127.0.0.1:15672/api/queues"
To query rabbit's API using curl(e.g list all queues):
curl -u '<user>:<password>' -i -H "content-type:application/json" -X GET "http://127.0.0.1:15672/api/queues"