El 02/08/16 a les 21:34, bawolff ha escrit:
> 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.
> 

Thanks Brian,

it works nice!


-- 
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

Reply via email to