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

Jul 21, 2026 9 min

How APIs Use Content Negotiation for Multiple Formats

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

Lucas and Luna dive into content negotiation — the HTTP mechanism that lets a single API endpoint serve JSON, XML, HTML, or even protobuf based on what the client requests. Using the GitHub API v3 as their primary case study, they walk through how the Accept header drives format selection, what happens when the server can't fulfill a request, and why versioning via content type is cleaner than URL-based versioning. They also touch on how Stripe uses vendor-specific media types for API versioning, and why the wildcard Accept header can cause subtle caching bugs. If you've ever wondered how the same endpoint returns different representations without breaking clients, this episode explains the mechanics and trade-offs in plain developer terms. #ContentNegotiation #HTTPHeaders #RESTfulAPI #GitHubAPI #Stripe #MediaTypes #APIVersioning #JSON #XML #ProtocolBuffers #AcceptHeader #WebDevelopment #BackendEngineering #Technology #FexingoBusiness #BusinessPodcast #API #SoftwareArchitecture 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 for Multiple Formats

0:00 9:19

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 9 minutes long.

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

This episode was published on July 21, 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.