Initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
HTTP消息发布接口测试
|
||||
|
||||
emqttd支持通过HTTP接口从应用程序向MQTT客户端发布消息。
|
||||
|
||||
例子:
|
||||
|
||||
curl -v --basic -u user:passwd -d "qos=1&retain=0&topic=/a/b/c&message=hello" -k http://localhost:8083/mqtt/publish
|
||||
|
||||
参数:
|
||||
|
||||
qos: QoS(0, 1, 2)
|
||||
retain: Retain(0, 1)
|
||||
topic: Topic
|
||||
message: Message
|
||||
Reference in New Issue
Block a user