Global Chat Controller
Send Global Chat Message
Path: /api/chat/global
Method: POST
Example Http Request
POST /api/chat/global HTTP/1.1
Content-Type: application/json
Content-Length: 151
Host: localhost:8080
{"topic":"event-topic","message":"{\"msg\":\"This is a \\\"test\\\" message\",\"guid\":\"3632ec91-d09b-4436-8233-fca02e37b6f4\",\"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/global' -i -X POST \
-H 'Content-Type: application/json' \
-d '{"topic":"event-topic","message":"{\"msg\":\"This is a \\\"test\\\" message\",\"guid\":\"3632ec91-d09b-4436-8233-fca02e37b6f4\",\"from\":\"Mr Test\"}"}'
Global Chat Controller