Registering and querying of CoAP resources works