RESTful API: Should I send URI parts in the response body? And how about Updating them? [closed]
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . I am building a RESTful API and I am not sure whether it is a problem (and violation of REST) to send information that is the same as URI parts in the response body or not. Current Situation An GET /element/$ID call gets you data of this element from the database, which also