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?
    – Bart
    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
    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. Jun 1, 2012 at 11:20

1 Answer 1

6

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .