HTTP API - STK Operation

From Ultiroam User Docs
Revision as of 14:51, 5 May 2024 by Administrator (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

POST https://gateway_ip/STKGo Request Parameters:

Parameter Type Description
Required Parameter
port Integer
Optional Parameter
item Integer
param String
action String “ok”, ”cancle”or ”home”

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