2

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?

3
  • 1
    And "the other one" is which question precisely? Commented 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. Commented 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. Commented Jun 1, 2012 at 11:20

1 Answer 1

7

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.

answered Apr 23, 2015 at 21:38

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.