{"error":"Bad Request"} Whoops! There was an error.
Whoops \ Exception \ ErrorException (E_WARNING)
Cannot modify header information - headers already sent by (output started at /home/canteradigitalio/public_html/mvswebservices/tornado/SecureApi.php:67) Whoops\Exception\ErrorException thrown with message "Cannot modify header information - headers already sent by (output started at /home/canteradigitalio/public_html/mvswebservices/tornado/SecureApi.php:67)" Stacktrace: #2 Whoops\Exception\ErrorException in /home/canteradigitalio/public_html/mvswebservices/tornado/router/init.php:38 #1 header in /home/canteradigitalio/public_html/mvswebservices/tornado/router/init.php:38 #0 require in /home/canteradigitalio/public_html/mvswebservices/index.php:12
Stack frames (3)
2
Whoops\Exception\ErrorException
/tornado/router/init.php:38
1
header
/tornado/router/init.php:38
0
require
/index.php:12
/home/canteradigitalio/public_html/mvswebservices/tornado/router/init.php
    $router->attach('\Tornado\AutoDocumentator','/apidocs',$details=true);
    require_once (__TOR__.'/tornado/router/routes.php');
    //se añaden los controladores
    require_once( __TOR__.'/controllers/Controller.php');
    //se añaden los modelos
    foreach( scandir( __TOR__.'/model' ) as $model ){
        $bffmodel = explode("." , $model);
        if( end( $bffmodel ) == "php" ){
            require_once( __TOR__.'/model/'.$model );
        }
    }
    //se define slug inicial
    global $BASE;
    $BASE="";
    try {
        $tokens= parse_url('http://twister.com'.$_SERVER["REQUEST_URI"]);
        $uri= rawurldecode(isset($tokens["path"])?$tokens["path"]:"/");
        $router->route($uri);
    } catch (\Exception $ex) {
        header("Content-Type: application/json;",TRUE,404);
        $out=array("error"=>"not found");
        die(json_encode($out));
    }
/home/canteradigitalio/public_html/mvswebservices/tornado/router/init.php
    $router->attach('\Tornado\AutoDocumentator','/apidocs',$details=true);
    require_once (__TOR__.'/tornado/router/routes.php');
    //se añaden los controladores
    require_once( __TOR__.'/controllers/Controller.php');
    //se añaden los modelos
    foreach( scandir( __TOR__.'/model' ) as $model ){
        $bffmodel = explode("." , $model);
        if( end( $bffmodel ) == "php" ){
            require_once( __TOR__.'/model/'.$model );
        }
    }
    //se define slug inicial
    global $BASE;
    $BASE="";
    try {
        $tokens= parse_url('http://twister.com'.$_SERVER["REQUEST_URI"]);
        $uri= rawurldecode(isset($tokens["path"])?$tokens["path"]:"/");
        $router->route($uri);
    } catch (\Exception $ex) {
        header("Content-Type: application/json;",TRUE,404);
        $out=array("error"=>"not found");
        die(json_encode($out));
    }
/home/canteradigitalio/public_html/mvswebservices/index.php
<?php
/***********************************************************
*      ______ ____   ____   _   __ ___     ____   ____         *
*     /_  __// __ \ / __ \ / | / //   |   / __ \ / __ \        *
*      / /  / / / // /_/ //  |/ // /| |  / / / // / / /        *
*     / /  / /_/ // _, _// /|  // ___ | / /_/ // /_/ /         *
*    /_/   \____//_/ |_|/_/ |_//_/  |_|/_____/ \____/          *
*                                                            *                                                
*************************************************************/
    require_once (__DIR__.'/vendor/autoload.php');//se cargan dependencias 
    require_once (__DIR__.'/tornado/config.php');//se carga arhivo de configuracion
    require (__DIR__.'/tornado/router/init.php');//se añade archivo que routea

Environment & details:

empty
empty
empty
empty
empty
Key Value
USER canteradigitalio
HOME /home/canteradigitalio
SCRIPT_NAME /index.php
REQUEST_URI /
QUERY_STRING
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 43552
SCRIPT_FILENAME /home/canteradigitalio/public_html/mvswebservices/index.php
SERVER_ADMIN webmaster@mvswebservices.canteradigital.io
CONTEXT_DOCUMENT_ROOT /home/canteradigitalio/public_html/mvswebservices
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /home/canteradigitalio/public_html/mvswebservices
REMOTE_ADDR 216.73.216.219
SERVER_PORT 443
SERVER_ADDR 184.107.4.210
SERVER_NAME www.mvswebservices.canteradigital.io
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
PATH /usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin
HTTP_HOST www.mvswebservices.canteradigital.io
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
proxy-nokeepalive 1
SSL_TLS_SNI www.mvswebservices.canteradigital.io
HTTPS on
UNIQUE_ID aYY767FrGMLIrW85dq4EYwAAAAM
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1770404843.3085
REQUEST_TIME 1770404843
argv Array ( )
argc 0
empty
0. Whoops\Handler\PrettyPageHandler