vaimee / zion

A scalable Thing Description Directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

POST /things should not allow a TD with id

hyperloris opened this issue · comments

Currently, we allow the creation of a TD with an id inside, but the POST /things endpoint should only accept Anonymous TD.

I believe the correct behavior is to reject the request by returning a 400 Bad Request.