News for hackers. Stuff that matters.
Re:Introspected REST: An Alternative to REST and GraphQL by dotancohen on Sunday November 11, 2018 @08:00AM (#18426166)
> reflections on the problem that every endpoint is `application/json` and not something more specific to the intended use case.

This is a feature, not a bug. If a JSON decoder can interpret the format, then it is by definition `application/json`. The alternative is to go back to miriads of incompatible data exchange formats, and each dev writing his own buggy parser, or installing yet another dependency to his application.

There are no comments on this comment yet.