7 ms·
Not sure if your “Dear god” is negatively targeted at my comment - I’ll assume it’s a general show of exasperation. How likely is it every API will adhere to t
by simonbarker87 3y ago
Not sure if your “Dear god” is negatively targeted at my comment - I’ll assume it’s a general show of exasperation.
How likely is it every API will adhere to that though?
- withinboredom 3y agoYeah, just exasperation. For the longest time, most APIs would return json if you asked for json, or xml if you requested xml. Many older api's still do content negotiation, many gave up because 'xml bad'.
- monknomo 3y agoYeah, I remember a lot of apis that were something like `resource/instance.json` or `resource/instance.xml` and they'd give you `instance` in whatever the requested format was