Yogesh Ghorpade

Yogesh Ghorpade

  • NA
  • 762
  • 148.2k

Success Function Return Error

Oct 3 2018 8:13 AM
Access-Control-Allow-Origin' header is present on the requested resource
 
My Code Is
 
function GetPaymentTypes() {
debugger;
var settings = {
"async": true,
"crossDomain": true,
"url": "URL",
"method": "POST",
"headers": {
"Content-Type":"application/json",
"Authorization":"Basic"
},
"processData": false,
}
$.ajax(settings).done(function (response) {
debugger;
console.log(response);
});
}
 

Answers (1)