All the requests have to be authenticated unless you compiled Foxbox with authentication disabled.
PUT
to api/v1/channels/set
:
{ "select": {
"id": "channel:[email protected]",
"feature": "light/is-on"
},
"value": "Off"
}
PUT
to api/v1/channels/get
:
{
"id": "channel:[email protected]",
"feature": "light/is-on"
}
PUT
to api/v1/channels/set
:
{
"select": {
"id": "setter:[email protected]",
"feature": "speak/sentence"
},
"value": "Hello FoxBox"
}