跳到主要内容

Rest接口服务端发送 - PubSub(Websocket)

RESTful API

URL:

http(s)://<REST Host>/v2/pubsub/publish

REST Host

杭州: rest-hz.goeasy.io
新加坡: rest-singapore.goeasy.io

Method:

Post

参数:

名称必要描述
appkey您的appkey
channelchannel
content您要发送的消息内容

返回值:

{
"code" : 200,
"content" : "OK"
}