POST chan_name/v1/publish

The web method 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 Requests

curl http://host:port/chan_name/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://host:port/chan_name/v1/publish -d '\{"_dest":"symbol.amzn","text":"sell"\}'