First of all please excuse me for opening new thread, however, the other one is few years old.
I was wondering whether https://data.stackexchange.com/stackoverflow/atom supports JSONP at all. Adding $callback and $filter to the query string results in server-side error. On the other hand, it is not possible to add Accept: "application/json" header for JSONP requests. Finally I tried accessing the service with "normal" (non JSONP) request, hoping that there is CORS however, no avail.
All in all it is not possible to access the feed through JavaScript unless I am missing something super obvious. In short, is there any way to consume the service from JavaScript?
-
1And "the other one" is which question precisely?Bart– Bart2012年05月31日 11:54:38 +00:00Commented May 31, 2012 at 11:54
-
Is there a particular reason you're not trying to use the Stack Exchange API instead? The odata endpoint on Data Explorer exists, but is not particularly well-maintained because the API provides more current data and more advanced functionality anyway.Tim Stone– Tim Stone2012年05月31日 12:28:46 +00:00Commented May 31, 2012 at 12:28
-
Yes, I had the intention to use the service for testing purposes. Thanks for clarification, I will find another public service that fits my needs.Genady Sergeev– Genady Sergeev2012年06月01日 11:20:53 +00:00Commented Jun 1, 2012 at 11:20
1 Answer 1
With rev. 2015年4月22日.34 the odata endpoints got hidden because they were dysfunctional for a long time.
Your best option is the Stack Exchange API as indicated by Tim. Alternatively you could use one of the methods I described here to get the data you need.