act(); header('Content-Type: application/json'); echo json_encode($return, JSON_PRETTY_PRINT).PHP_EOL; exit(); } //not an API call, so let the architect do its magic $routercall = architect($url); echo $routercall.PHP_EOL;