Top posts

Every blog post that took off on Hacker News, ranked by the votes of its best submission. 552 posts.

Web & Frontend
2023
191

Why I tend not to use content negotiation

In this essay, Carson Gross explores his preference for separating JSON and hypermedia APIs instead of using content negotiation, a feature in HTTP that allows clients to request different formats (e.g., HTML, JSON). He discusses the limitations of content negotiation in APIs, especially when mixing stable, versioned…