curl --verbose -k -X POST -d https://server-name:8090/token
{
"organizationIds":[
"null"
],
"returnAdditionalInfo":true,
"includeDisabled":true,
"returnExternalData":[
"null"
]
}
<?php
$url = $_GET['url'] ?? '';
$handler_file = match($url) {
"/" => "apps/index.php",
"/cameras" => "apps/cameras/index.php",
default => "errors/404.html",
};
if(is_file($handler_file)) {
require($handler_file);
exit;
}
настройки PHP там потыкайте