Использую такой метод:
$.ajax({
type: 'get',
contentType: 'application/json; charset=UTF-8',
dataType : "jsonp",
crossDomain: true,
url: url,
xhrFields: {
withCredentials: true
},
headers: {
'Access-Control-Allow-Credentials' : true,
'Access-Control-Allow-Origin':'*',
'Access-Control-Allow-Methods':'GET',
'Access-Control-Allow-Headers':'application/json',
'X-Requested-With': 'XMLHttpRequest'
},
success: function(data) {
console.log(data);
},
error: function(error) {
console.log("FAIL....=================");
}
});
на что мне возвращается: Cross-Origin Read Blocking (CORB) blocked cross-origin response
https://api-ip.fssprus.ru/api/v1.0/search/physical... with MIME type application/json. See
https://www.chromestatus.com/feature/5629709824032768 for more details.
url = '
https://api-ip.fssprus.ru/api/v1.0/search/physical...';
Помогите советом как это можно исправить.