-----Oorspronkelijk bericht-----
Van: mediawiki-api-bounces(a)lists.wikimedia.org namens Roan Kattouw
Verzonden: wo 9-6-2010 22:59
Aan: MediaWiki API announcements & discussion
Onderwerp: Re: [Mediawiki-api] Questions about the MediaWiki API Component
2010/6/9 Aaron Ward <edugamer(a)gmail.com>om>:
Am I simply using the incorrect api calls for this? Or
should I be
approaching this from an entirely different angle? The end goal is to search
Wiktionary for the definition of a dynamically submitted word from within a
Flash AS3 program, so I don't think there should be any problems with
restricted information.
Yes, you're taking a totally wrong angle here. Any cross-domain
restrictions are imposed by Flash or whatever it is you're using to
send your HTTP requests. The API or WMF's servers have nothing to do
with this: Flash or the browser or whatever is preventing your
requests from ever being sent.
These cross-domain restrictions are being imposed for security
reasons. I only know about the restrictions web browsers impose, where
JSON callbacks allow for a 'loophole' that allows cross-domain request
in a limited way but is still secure. Again, the API implements JSON
callbacks so this technique can be used, but doesn't impose the
restrictions that cause people to use callbacks in the first place,
that's done by the browser. I'm afraid I can't help you with
restrictions imposed by Flash, as I'm not familiar with them.
Roan Kattouw (Catrope)
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api