I do not understand. The below code works fine when url is
“en.wikipedia.org/wiki/Neutron” but fails when url is
"en.wikipedia.org/wiki/The_Drop_(sculpture)"
$.get(
'http://www.corsproxy.com/' + url,
function(response) {
var ttt;
});
The error is "No 'Access-Control-Allow-Origin' header is present on the
requested resource. Origin 'null' is therefore not allowed access. “ in the
second case.
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api