News for hackers. Stuff that matters.
Re:So you want to offer a public API … by andraz on Wednesday July 25, 2012 @08:03AM (#4290455)
exactly! All use of headers in web APIs just makes it harder to understand them by regular developers of API cleints.
Re:So you want to offer a public API … by Graphon on Wednesday July 25, 2012 @02:36PM (#4292327)
Using a content-type header instead of .json or .xml (etc) extension in the URL is just another example of this phenomenon. There's a reason people are moving to use dot extensions in URLs - it's easier to adopt and test.