On Tue, Aug 2, 2016 at 7:32 PM, Toni Hermoso Pulido <[email protected]> wrote: > Hello, > > I'm trying to include some output from > https://wikimedia.org/api/rest_v1/?doc into a Wikipedia > (xy.wikipedia.org) via a Javascript AJAX call. > > Is it possible to have a JSONP output? I have not found any > documentation so far. Otherwise, would there be any other way (avoiding > a backend part, of course)? > > Thanks, > > -- > Toni Hermoso Pulido > http://www.cau.cat > http://www.similis.cc > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
JSONP in general tends to be flaky. I strongly suggest you use CORS to access apis, even for the APIs that have JSONP available. -- Brian _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
