I make such an AJAX request using jQuery
$.ajax({ url: 'https://services.sferainfo.net/api_school/?geo_school', type: 'GET', dataType: 'json', crossDomain: true, success: function(data){ console.log("ok"); }, error: function () { console.log("error"); } }); There is such a mistake
map.html: 1 XMLHttpRequest cannot load https: //. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' http://newglk.dev:8088 ' is therefore not allowed access.