键盘弹起所有
调用说明
- 请求参数
参数 | 类型 | 说明 | 备注 |
---|---|---|---|
fun | 字符串 | /key/upall | 请求功能名 |
id | 字符串 | 设备唯一ID | 多个设备用逗号隔开 |
- httpGet请求示例
curl --request GET \
--url 'http://192.168.9.9:9911/api/key/upall?id=5C:F7:E6:CE:65:22'
- httpPost请求示例
curl --request POST \
--url http://192.168.9.9:9911/api \
--header 'content-type: multipart/form-data' \
--form fun=/key/upall \
--form id=5C:F7:E6:CE:65:22
- httpPost json请求示例【websocket也可发送同样json请求】
curl --request POST \
--url http://192.168.9.9:9911/api \
--header 'Content-Type: application/json' \
--data '{
"fun": "/key/upall",
"data": {
"id": "1C:5C:F2:BC:D0:CC"
}
}'
响应结果
{
"data": {
"code": 0,
"id": "5C:F7:E6:CE:65:22",
"message": "成功"
},
"status": 200,
"message": "成功",
"msgid": 0,
"fun": "/key/upall"
}
- 响应data数据字段说明
无