I would like to send a message and I call 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'
the status=204 and body response no content. But when I get message by
curl -X GET --header 'Accept: application/json' 'http://localhost:8088/api/messages/admin%40localhost'
then status = 200 and body=[] (no messages). I have exchange admin and maituanmte but the same result.
Please help me. Thanks