HTTP API - STK Operation

From Ultiroam User Docs
Revision as of 22:31, 2 May 2024 by Administrator (talk | contribs) (Created page with "==== 9.1         Request ==== '''POST <nowiki>https://gateway_ip/STKGo</nowiki>''' ==== 9.2         Request Parameter ==== {| class="wikitable" |'''Parameter''' |'''Type''' |'''Description''' |- | colspan="3" |'''Required Parameter''' |- |port |Integer | |- | colspan="3" |'''Optional Parameter''' |- |item |Integer | |- |param |String | |- |action |String |“ok”, ”cancle”or ”home” |} ==== 9.3         Example of STK Operation ==== ====== Request...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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