Home / Docs Center / Platform API / Add Local Proxy
Add Local Proxy
Project: Platform API | page_id: 224
Brief Description:
- Add a local proxy.
Request URL:
- /product/customSetConf
Request Method:
- POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| pId | Required | string | Device ID |
| customType | Required | string | Proxy type, http by default |
| localIp | Required | string | Proxy local IP |
| localPort | Required | string | Proxy port |
| subDomainPrefix | Required | string | Proxy prefix (letters and digits only) |
Response Example
{
"code": 0,
"msg": ""
}
Response Parameter Description
| Parameter | Type | Description |
|---|---|---|
| code | int | Status code, 0 means success. >0 means failure |
| msg | string | Error message |
Notes
- The new proxy ID is: subDomainPrefix + "-" + pId
Didn't find what you need?Contact us,Talk to our engineers directly.