<?php
echo "Debug Info:\n";
echo "Method: " . $_SERVER['REQUEST_METHOD'] . "\n";
echo "Path: " . parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) . "\n";
echo "Route: " . $_SERVER['REQUEST_METHOD'] . ' ' . rtrim(parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH), '/') . "\n";
echo "Full URI: " . $_SERVER['REQUEST_URI'] . "\n";