Error 405 Method Not Allowed

POST https://xgc.euraxiel.fr/?rest_route=%2Fbatch%2Fv1

Forwarded to ErrorController (f4de8c)

Request / Response

Request

GET Parameters

Key Value
rest_route
"/batch/v1"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

No attributes

Request Headers

Header Value
accept
"text/html,application/json,application/rss+xml;q=0.9,*/*;q=0.8"
accept-encoding
"identity"
connection
"close"
content-length
"330"
content-type
"application/json"
host
"xgc.euraxiel.fr"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
x-php-ob-level
"1"

Request Content

Pretty

{
    "requests": [
        {
            "method": "POST",
            "path": "http:\/\/:"
        },
        {
            "method": "POST",
            "path": "\/wp\/v2\/posts",
            "body": {
                "requests": [
                    {
                        "method": "GET",
                        "path": "http:\/\/:"
                    },
                    {
                        "method": "GET",
                        "path": "\/wp\/v2\/categories?author_exclude=SELECT+IF%28%281%3D1%29%2CSLEEP%280.5%29%2C0%29"
                    },
                    {
                        "method": "GET",
                        "path": "\/wp\/v2\/posts"
                    }
                ]
            }
        },
        {
            "method": "POST",
            "path": "\/batch\/v1"
        }
    ]
}

Raw

{"requests":[{"method":"POST","path":"http://:"},{"method":"POST","path":"/wp/v2/posts","body":{"requests":[{"method":"GET","path":"http://:"},{"method":"GET","path":"/wp/v2/categories?author_exclude=SELECT+IF%28%281%3D1%29%2CSLEEP%280.5%29%2C0%29"},{"method":"GET","path":"/wp/v2/posts"}]}},{"method":"POST","path":"/batch/v1"}]}

Response

Response Headers

Header Value
allow
"GET"
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
cross-origin-opener-policy
"same-origin"
date
"Fri, 11 Sep 2026 09:02:15 GMT"
permissions-policy
"camera=(), geolocation=(), microphone=()"
referrer-policy
"same-origin"
strict-transport-security
"max-age=31536000; includeSubDomains"
vary
"Accept"
x-content-type-options
"nosniff"
x-debug-token
"acf156"
x-debug-token-link
"https://xgc.euraxiel.fr/_profiler/f4de8c"
x-frame-options
"DENY"
x-previous-debug-token
"f4de8c"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_2FA_ISSUER
"Application Euraxiel"
APP_2FA_SERVER_NAME
"euraxiel.fr"
APP_CRYPTO_KEY
"XycjHi3zi_hszMJJ"
APP_DEBUG
"0"
APP_ENV
"dev"
APP_SECRET
"JXYYIczBDRi1Wlcz"
APP_SHARE_DIR
"var/share"
DATABASE_URL
"postgresql://admin_db_xgc:pg_xgc_2026_Axi@localhost:5432/xgc?serverVersion=16&charset=utf8"
DEFAULT_URI
"http://localhost"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_PROJECT_DIR
"/var/www/vhosts/xgc.euraxiel.fr/httpdocs"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/var/www/vhosts/xgc.euraxiel.fr/httpdocs"
]
CONTENT_LENGTH
"330"
CONTENT_TYPE
"application/json"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/xgc.euraxiel.fr/httpdocs/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/vhosts/xgc.euraxiel.fr/httpdocs/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www/vhosts/xgc.euraxiel.fr"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/json,application/rss+xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"identity"
HTTP_CONNECTION
"close"
HTTP_HOST
"xgc.euraxiel.fr"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
"rest_route=/batch/v1"
REMOTE_ADDR
"193.47.62.167"
REMOTE_PORT
"33488"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1789117335
REQUEST_TIME_FLOAT
1789117335.299
REQUEST_URI
"/?rest_route=/batch/v1"
SCRIPT_FILENAME
"/var/www/vhosts/xgc.euraxiel.fr/httpdocs/public/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"https://xgc.euraxiel.fr/"
SCRIPT_URL
"/"
SERVER_ADDR
"82.165.78.145"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"xgc.euraxiel.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache Server at xgc.euraxiel.fr Port 443</address>\n"
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"xgc.euraxiel.fr"
SYMFONY_DOTENV_PATH
"/var/www/vhosts/xgc.euraxiel.fr/httpdocs/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,APP_SECRET,APP_2FA_SERVER_NAME,APP_2FA_ISSUER,APP_CRYPTO_KEY,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN"
USER
"xgc.euraxiel.fr_0jghhclwffk"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = f4de8c)

Key Value
_controller
"error_controller"
exception
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException {#217
  #message: "No route found for "POST https://xgc.euraxiel.fr/": Method Not Allowed (Allow: GET)"
  #code: 0
  #file: "/var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/symfony/http-kernel/EventListener/RouterListener.php"
  #line: 160
  -previous: Symfony\Component\Routing\Exception\MethodNotAllowedException {#218 …}
  -statusCode: 405
  -headers: [
    "Allow" => "GET"
  ]
  trace: {
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/symfony/http-kernel/EventListener/RouterListener.php:160 {
      Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(RequestEvent $event): void …
      › 
      ›     throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);}
    }
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/symfony/event-dispatcher/EventDispatcher.php:246 {
      Symfony\Component\EventDispatcher\EventDispatcher::{closure:Symfony\Component\EventDispatcher\EventDispatcher::optimizeListeners():241} …
      ›     }    ($closure = $listener(...))(...$args);};
    }
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/symfony/event-dispatcher/EventDispatcher.php:206 {
      Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event): void …
      ›     }    $listener($event, $eventName, $this);}
    }
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/symfony/event-dispatcher/EventDispatcher.php:56 {
      Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, ?string $eventName = null): object …
      › if ($listeners) {    $this->callListeners($listeners, $eventName, $event);}
    }
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:159 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › $event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);}
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/symfony/http-kernel/HttpKernel.php:76 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {
    }
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/symfony/http-kernel/Kernel.php:191 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);}
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/autoload_runtime.php:32 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/vhosts/xgc.euraxiel.fr/httpdocs/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/vhosts/xgc.euraxiel.fr/httpdocs/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
null