set-web
Added at V2.2
Use this interface to set security management.
HTTP Request
GET http://ip/usapi?method=set-web&http-port=80&is-https=1&https-port=443
| Parameter | Description | 
|---|---|
| method | set-web | 
| http-port | http service port | 
| is-https | 0: disable https 1: enable https | 
| https-port | https port | 
Response Body
{
  "result": 0
}
| Item | Description | 
|---|---|
| result | Returned status. 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |