News for hackers. Stuff that matters.
Re:HackerNews API: What if HN does not have API? Make API on... by sathish316 on Saturday June 02, 2012 @06:02PM (#4059323)
If i understood correctly JSONP supports only GET but CORS supports all http methods. APIfy can only provide GET Requests (Index and Show) over a static html page
Re:HackerNews API: What if HN does not have API? Make API on... by cheeaun on Saturday June 02, 2012 @08:11PM (#4059623)
That's one of the advantages of CORS. The other advantage is it allows cross-domain XMLHttpRequest requests in the browser, which will have better error handling than JSONP.