import json
import requests
res = requests.get(url='http://localhost:15672/api/queues', auth=('test', '123456'))
print(json.loads(res.content.decode()))
python request请求rabbitmq http api抓取队列列表
最新推荐文章于 2024-05-23 09:45:36 发布
import json
import requests
res = requests.get(url='http://localhost:15672/api/queues', auth=('test', '123456'))
print(json.loads(res.content.decode()))