ini_set('error_reporting', E_ALL); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); require("api/configer.php"); $data = [ "query"=>"getInhabitants", "api_key"=>$api_key ]; $inhabitantsData = json_decode(request("http://a0483197.xsph.ru/api/api.php", $data)); ?>