trntxt
trntxt copied to clipboard
Respect 'Accept' request header
It'd be nice if the 'Accept' header was read and the data was returned in the requested format.
E.g. JSON, XML or HTML (default)
Note to self: JSON interface might need to take an API key too, since I don't want my key being used for everyone else's apps ;)
But, it would be just as easy to write an app that parsed the (very simple) HTML.