Best of 2023

The blog posts Hacker News loved most in 2023. 552 posts.

Web & Frontend
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…