curl --request GET --url "http://localhost/chat"
curl --request PUT \
--url "http://localhost/chat" \
--header 'content-type: application/json' \
--data '{"auth": {"name": "user", "password": "pwd"}, "message": {"text": "Hi!"}}'
curl --request DELETE \
--url "http://localhost/chat" \
--header 'content-type: application/json' \
--data '{"auth": {"name": "user", "password": "pwd"}, "messageId": 1}'