3 ms·
> If you are designing a REST API, please don't follow this author's advice and return HTML instead of JSON. HTML takes much longer to parse and makes the API m
by krainboltgreene 4y ago
> If you are designing a REST API, please don't follow this author's advice and return HTML instead of JSON. HTML takes much longer to parse and makes the API more fragile.
you're describing what a browser does.
> has dropped the unnecessarily complicated bits.
you're viewing this content from a browser.
- eterevsky 4y agoWhat's your point? If something works for the purposes of UI, it doesn't mean it is good for an API.