Keep IDs internal with REST

added by DotNetKicks
9/20/2021 1:53:13 PM

478 Views

Instead of relying on entity IDs, use hypermedia to identify resources. Whenever I've helped teams design HTTP APIs, sooner or later one request comes up - typically from client developers: Please add the entity ID to the representation. In this article I'll show an alternative, but first: the normal state of affairs.


0 comments