For example, say I have a device called "AmIhome". I would want to issue a CURL against the following:
- Code: Select all
curl -u username:password --digest --anyauth -X GET http://localhost:8176/devices/AmIhome/state
And get a simple "true" or "false" (or on/off... whatever the state would be)... with no other responses to filter through.
Is there any way I can currently do this?