curl  -v http://192.168.1.6:8081/v1/capabilities/lights
* Hostname was NOT found in DNS cache
*   Trying 192.168.1.6...
* Connected to 192.168.1.6 (192.168.1.6) port 8081 (#0)
> GET /v1/capabilities/lights HTTP/1.1
> User-Agent: curl/7.35.0
> Host: 192.168.1.6:8081
> Accept: */*
> 
< HTTP/1.1 200 OK
< Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept
< Access-Control-Allow-Methods: GET, POST, PUT, DELETE, OPTIONS
< Access-Control-Allow-Origin: *
< Cache-Control: no-store, no-cache, must-revalidate, max-age=0
< Connection: close
< Content-Type: application/json; charset=utf-8
< Pragma: no-cache
< 
{
   "Lights" : [
      {
         "id" : 1,
         "interruptor" : 0,
         "name" : "Bureau JB",
         "sender" : 12797322,
         "speach_name" : "bureau",
         "state" : true,
         "zone" : ""
      },
      {
         "id" : 2,
         "interruptor" : 1,
         "name" : "Salon",
         "sender" : 12797322,
         "speach_name" : "salon",
         "state" : false,
         "zone" : ""
      },
      {
         "id" : 3,
         "interruptor" : 2,
         "name" : "Sapin",
         "sender" : 12797322,
         "speach_name" : "sapin",
         "state" : false,
         "zone" : ""
      }
   ],
   "id" : "/v1/capabilities/lights",
   "response_code" : 200,
   "status" : "OK"
}

* Closing connection 0
