Download xPico Wi-Fi Embedded Device Server User Guide

Transcript
Parameters:

optionalLine: Optional line index for line oriented XML groups

optionalGroupList: Optional list of XML groups separated by semicolon. If omitted, all
configuration groups will be returned.
CURL example:
curl -u admin:PASSWORD -X POST http://<hostname>/export/config
curl -u admin:PASSWORD -X POST -d "optionalGroupList=Interface:wlan0"
http://<hostname>/export/config
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 -u admin:PASSWORD -X POST -d
"group=Interface&optionalGroupInstance=wlan0&action=Renew"
http://<hostname>/action/status
Javascript example:
myXmlhttprequest.open(
"POST",
"/action/status",
true
);
xPico® Wi-Fi® Embedded Device Server User Guide
30