Room Chat Controller
Send Chat Message
Path: /api/chat/room
Method: POST
Example Http Request
POST /api/chat/room HTTP/1.1
Content-Type: application/json
Content-Length: 151
Host: localhost:8080
{"topic":"event-topic","message":"{\"msg\":\"This is a \\\"test\\\" message\",\"guid\":\"5b41fe5b-8316-4cae-bd38-64f27c52317f\",\"from\":\"Mr Test\"}"}
Example Http Response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Example Curl Request
$ curl 'http://localhost:8080/api/chat/room' -i -X POST \
-H 'Content-Type: application/json' \
-d '{"topic":"event-topic","message":"{\"msg\":\"This is a \\\"test\\\" message\",\"guid\":\"5b41fe5b-8316-4cae-bd38-64f27c52317f\",\"from\":\"Mr Test\"}"}'
Room Chat Controller