Registration and requesting works for simple and coap