Hacker News new | ask | show | jobs
by n8ji 5219 days ago
any chance you'll add JSON support?
2 comments

Try adding &format=json and let me know if you run into any bugs
How's about sum Accept headers up in there?
Could you point me in the right direction?
Accept: application/json
I'm currently using header('Content-type: application/json'); Source: http://stackoverflow.com/questions/267546/correct-http-heade...
I think they want it so that if they send an Accept header in the request that asks for json, you reply with json, instead of using a query parameter to specify the format.

https://developer.mozilla.org/en/HTTP/Content_negotiation has more details about the accept header and its use.

Shameless Plug: http://www.feedsapi.com supports JSON , you might want to check it out, and drop me a mail if you have any special use-case or question.