Lantronix SGX 5150 IoT Device Gateway SGX 5150 Command Reference - Page 60
CURL example (configuration as part of command):, HTTP example:, Take Status Action, Parameters:,
View all Lantronix SGX 5150 IoT Device Gateway manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 60 highlights
5: Configuration Using Web API curl -u admin:PASSWORD http:///import/config -X POST --form [email protected] CURL example (configuration as part of command): curl -u admin:PASSWORD http:///import/config -X POST --form-string 'configrecord= ]> MY DEVICE ' HTTP example: Take Status Action An HTTP POST request can be sent to take a status action. Protocol: HTTP Method: POST URL: http:///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. Actions Definitions The following are action definitions related to the Take Status Action API. SGX 5150 IoT Device Gateway Command Reference 60