Skip to content

Instantly share code, notes, and snippets.

@denzhel
Created July 28, 2022 10:42
Show Gist options
  • Save denzhel/9c697a408ada173b573bf17270bc8462 to your computer and use it in GitHub Desktop.
Save denzhel/9c697a408ada173b573bf17270bc8462 to your computer and use it in GitHub Desktop.
query rabbitmq's API with curl

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment