Есть запрос
$.ajax({
url: '
https://biptophone.ru/api.php',
method: 'post',
dataType: 'json',
data: {key1: 'FipNyCGhgNCekGPD',curs:'1'},
success: function(data){
$("#first-selector").text(data.RUB)
$("#second-selector").text(data.LIMIT)
}
});
Есть html куда выводить
<div class="tab-pane" id="settings" role="tabpanel" aria-labelledby="settings-tab">
<h1 id="first-selector"></h1>
<h1 id="second-selector"></h1>
</div>
Но оно не выводиться. вероятно из-за
ross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at
https://biptophone.ru/api.php. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing