HTTP API - STK Operation
9.1 Request
POST https://gateway_ip/STKGo
9.2 Request Parameter
| Parameter | Type | Description |
| Required Parameter | ||
| port | Integer | |
| Optional Parameter | ||
| item | Integer | |
| param | String | |
| action | String | “ok”, ”cancle”or ”home” |
9.3 Example of STK Operation
Request:
curl -k --anyauth -u admin:admin -d '{"port":7,"item":1}' -H "Content-Type: application/json" -H "Content-Type: application/json" http://gateway_ip/STKGo
curl -k --anyauth -u admin:admin -d '{"port":7,"action":"cancle"}'
-H "Content-Type: application/json" -H "Content-Type: application/json" http://gateway_ip/STKGo