3 ms·
From a URL=Resource perspective I don't love unstructured strings in the url because they make it trickier (never impossible) to extend with sub-resources. For
by robertclaus 2y ago
From a URL=Resource perspective I don't love unstructured strings in the url because they make it trickier (never impossible) to extend with sub-resources. For example, if I have a url for a blog post with a slug, it's more difficult to represent a comment as a sub-record of that post:
`my.domain/post/123/my-great-slug-that-is-pretty-long-but-doesnt-matter/comment/456`
vs
`my.domain/post/123/comment/456`