Access to XMLHttpRequest at this

Access to XMLHttpRequest at ‘https://challenges.cloudflare.com/turnstile/v0/siteverify’ from origin ‘http://us-dev.vwr.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource

Hi Team,

from origin ‘domain’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Please suggest on the error.

sample code:

var saveData = $.ajax({
“method”: “POST”,
ul:“”
crossDomain: true,
data: myKeyVals,
dataType: “json”,
contentType:“application/json”,
“headers”: {
“accept”: “application/json”,
“Access-Control-Allow-Origin”:“*”
},
beforeSend: function(xhr){
xhr.withCredentials = true;
},
success: function(resultData){
alert(“Save Complete”);
if(resultData.success){
console.log( “success”);
}
else{
console.log( “success but not got token”);
}
},

Access to XMLHttpRequest at ‘https://challenges.cloudflare.com/turnstile/v0/siteverify’ from origin ‘’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource

Hi Team,

from origin ‘domain’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

Kindly suggest on the above error which I am getting from jquey ajax call

@rajesh.atg45 no need to repost, one is enough.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.