CoAPConnect / coap-pubsub-rust

MIT License
5 stars 0 forks source link

Create Topic does not return correct values #61

Closed Kavan-M closed 5 months ago

Kavan-M commented 5 months ago

Currently topic creation returns response code and "Topic created succesfully", should return a payload with more info:

image

From the draft: "On success, the server returns a 2.01 (Created) response, indicating the Location-Path of the new topic and the current representation of the topic resource. The response payload includes a CBOR map with key-value pairs. The response must include the required topic properties (see Section 2.2.1), namely: "topic-name", "resource-type" and "topic-data". It may also include a number of optional properties too."

CBOR not required for completion of this issue since not implemented anywhere atm.