All the requests have to be authenticated unless you compiled Foxbox with authentication disabled.
PUT to api/v1/channels/set :
{ "select": {
"id": "channel:power.1.001788fffe251236.philips_hue@link.mozilla.org",
"feature": "light/is-on"
},
"value": "Off"
}PUT to api/v1/channels/get :
{
"id": "channel:power.1.001788fffe251236.philips_hue@link.mozilla.org",
"feature": "light/is-on"
}PUT to api/v1/channels/set :
{
"select": {
"id": "setter:talk@link.mozilla.org",
"feature": "speak/sentence"
},
"value": "Hello FoxBox"
}