API design, REST, resource identifiers
API Resource URLs: Database ID or Readable Slug?
Compare ID-based, slug-based, and combined API resource URLs, including rename migrations, collisions, privacy, and authorization trade-offs.
Practical guides for cleaner URLs, smarter SEO and a more thoughtful web.
2 articles Show all topics
API design, REST, resource identifiers
Compare ID-based, slug-based, and combined API resource URLs, including rename migrations, collisions, privacy, and authorization trade-offs.
HTTP, API design
Learn when to return a Location header after POST, when to include a JSON URL, and how to handle relative references and reverse proxies safely.