Top posts

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

Any topic
2023
758

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…