远程重启
更新时间:2024-05-16
远程重启
EdgeBoard的http服务功能,提供了远程重启EdgeBoard的功能,可通过调用如下http服务接口实现。
http请求方法:post
URI:http://192.168.1.254:8899/api/system/remote/restart
请求参数 | 参数说明 | 是否必须 | 备注 |
---|---|---|---|
password | 登录的密码 | 是 | 默认登录用户名是admin且不可修改,密码可修改 |
Request Headers:
Content-Type: application/json
Request Body:
{
"password":"admin"
}
Response 返回:
- HTTP Status 200 (Ok) Response Headers:
{
"errno": 0,
"message":"success"
}
- HTTP Status 204 (Deleted with no contents).
- HTTP Status 404 (Not Found), if file identified by the url is not found or invalid.