News for hackers. Stuff that matters.
Re:Why I Tend Not to Use Content Negotiation by naasking on Tuesday November 21, 2023 @12:11AM (#38359579)
An API can return JSON, XML, HTML microformats, maybe even a binary encoding of some kind, possibly more down the road. All of these are serialized formats for objects.

Of course you can have a unique URL for each format and avoid the accept header, just like you don't technically need more than GET and POST methods.

There are no comments on this comment yet.