Skip to content
How APIs Use Content Negotiation to Serve Multiple Formats episode artwork

Jun 19, 2026 10 min

How APIs Use Content Negotiation to Serve Multiple Formats

from The API Podcast with Fexingo: REST, GraphQL, and Modern Web APIs Hosted by Fexingo

In this episode of The API Podcast with Fexingo, Lucas and Luna explore content negotiation—the HTTP mechanism that lets a single API endpoint return JSON, XML, HTML, or even binary formats based on the client's Accept header. Using a real example from GitHub's API, they trace how the Accept header evolved from a simple content-type switch to a powerful tool for versioning and feature flags. Listeners learn how APIs negotiate for the right representation, why 'application/vnd.github.v3+json' changed the game, and how modern APIs use proactive content negotiation to reduce round trips. Episode 60 also covers the trade-offs between server-driven and agent-driven negotiation, and why REST APIs increasingly lean on the Vary header to improve cache efficiency. A concrete, developer-focused conversation for anyone building or consuming APIs in 2026. #ContentNegotiation #HTTP #REST #APIs #AcceptHeader #GitHubAPI #JSON #XML #MediaTypes #VaryHeader #ServerDrivenNegotiation #AgentDrivenNegotiation #APIVersioning #WebAPIs #Technology #FexingoBusiness #BusinessPodcast #TheAPIPodcast Keep every episode free: buymeacoffee.com/fexingo

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

How APIs Use Content Negotiation to Serve Multiple Formats

0:00 10:17

No transcript yet.

Requests help us decide what to transcribe next.

Frequently asked questions

How long is this episode of The API Podcast with Fexingo: REST, GraphQL, and Modern Web APIs?

This episode is 10 minutes long.

When was this The API Podcast with Fexingo: REST, GraphQL, and Modern Web APIs episode published?

This episode was published on June 19, 2026.

Can I download this The API Podcast with Fexingo: REST, GraphQL, and Modern Web APIs episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.