Appendix B: WebAPI
optionalBoolNeedSecret: To retrieve the original value for hidden configuration, set this to "true".
CURL example:
curl
Javascript example: myXmlhttprequest.open(
"POST",
"/export/config", true
);
request.send(
"optionalGroupList= Interface:wlan0"
);
Take Status Action
An HTTP POST request can be sent to the device to take a status action.
Protocol: HTTP
Method: Post
URL: http://<hostname>/action/status
Parameters:
group: Required. The status group where action is defined.
optionalGroupInstance: Optional instance of status group.
optionalItem: Optional item of status group where action is defined.
optionalItemInstance: Optional instance of status item.
action: Required. The action to be taken.
CURL example:
curl
Javascript example: myXmlhttprequest.open(
"POST",
"/action/status", true
);
request.send(
" group=Interface&optionalGroupInstance=wlan0&action=Renew "
);
xPico® | 101 |