Reply To https://www.jvt.me/posts/2021/01/05/why-content-negotiation/

Why I use server-driven content negotiation for APIs to allow for versioning and allowing different representations of APIs.

Great read! I like the idea at the end of providing different experiences based on the client. I might give that a try on my own site.

I've seen vendor Accept headers before, but never seen any detail on the format. Is the application/vnd.*+json just a convention or is it standardized somewhere?

Comments

Thanks! I'm liking your site, and will be keeping an eye on it 😀I've seen it documented in RFC 4288: Media Type Specifications and Registration Procedures although I thought it was just a convention if I'm honest, I didn't realise it was fully standardised, although it does make sense.

Back To Top