device_register
Last updated
Last updated
curl -X "POST" "https://api.xxx.com/device/register" \
-H 'Authorization: Bearer 123456' \
-H 'Content-Type: application/json; charset=utf-8' \
-d $'{
"appId": 1,
"deviceId": "1",
"type": "APP_ROBOT",
"vendorId": 15,
"name": "测试"
}'{
"state": "SUCCESS",
"code": "0000",
"result": "创建成功",
"data": "0428f41d89fc436b8d63a529cf7141a7"
}