Method Not Allowed 📋

Cake\Http\Exception\MethodNotAllowedException
CORE/src/Http/ServerRequest.php at line 1442 (edit)
                return true;
            }
        }
        $allowed = strtoupper(implode(', ', $methods));
        $e = new MethodNotAllowedException();
        $e->setHeader('Allow', $allowed);
        throw $e;
    }

If you want to customize this error message, create templates/Error/error400.php