U klijentu imam ovo: 
CoapClient client = new CoapClient("coap://localhost/sensors/temp");
Unutar  SensorsResource klase imam ovo:
CoapResource temperatureResource = new CoapResource("temp");
this.add(temperatureResource);
temperatureResource.setPath("sensors/temp");
Imam i handleGET metodu, ali kad iz klijenta pozivam sensors/temp resurs, javlja mi 4.05 (not allowed).