我想发送一条消息,然后调用api。
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"caller":"maituanmte%40localhost","to":"admin%40localhost","body": "Hi all"}' 'http://localhost:8088/api/messages'status=204和body响应无内容。但当我收到消息时
curl -X GET --header 'Accept: application/json' 'http://localhost:8088/api/messages/admin%40localhost'然后status = 200和body=no messages。我有exchange admin和maituanmte,但结果相同。
请帮帮我。谢谢
https://stackoverflow.com/questions/41520612
复制相似问题