3 ms·
You are right that this is no good idea in the general case. But I think there are a few endpoints that have "pretty printing" outputs for developers enabled if
by xg15 12y ago
You are right that this is no good idea in the general case. But I think there are a few endpoints that have "pretty printing" outputs for developers enabled if text/html is in the accept list. At least the (internal) deviantart API did have that some time ago.
I agree that the whole thing can be solved nicely with content negotiation.