3 ms·
All of these popular services can be expressed in standard ones like HTML/JSON.
by dreamdu5t 15y ago
All of these popular services can be expressed in standard ones like HTML/JSON.
- masklinn 15y agoExcept as far as an automated tool is concerned, knowing that something is "HTML" or "JSON" is useless: it will not be able to consume it. So it's not a useful information for an API. Instead, specifying the precise subset of the general-purpose format (essentially the language, where the general-purpose format is a meta-language) helps just about everybody. And that's what github does: the `+json` postfix indicates that they're returning a JSON dialect, the `vnd.github-issue.text` explains what that dialect precisely is.