POST <chan_name>/v1/publish

Publishes a message on a specific channel. The request body is the message to publish (in JSON format).

chan_name in the URI is the channel name.

Example Request

curl http://localhost:8585/channel201/v1/publish -d '{"name":"joe","id":123}'

Publishing on EMS Channels

When publishing on an EMS channel, you must supply the topic name as the value of the _dest field in the argument of the request. For example:
curl http://localhost:8585/channel201/v1/publish -d '{"_dest":"symbol.amzn","text":"sell"}'