Error guides

The GET method is not supported for route

The URL matches a route, but not for the HTTP method the request used. Usually a GET reached a POST-only route; Laravel answers 405.

Message
The GET method is not supported for route contact. Supported methods: POST.
Exception
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException

What it means

The router found a route whose URL matches the request, but that route is not registered for the HTTP method the request used. The word after "route" is the request path, not a route name, and "Supported methods" lists what the route accepts. Laravel answers with status 405 and an Allow header that carries the same list.

Why it happens

  • Someone opened a POST-only URL in the browser. Typing a URL, following a link, using a bookmark or a crawler visit all send GET.
  • A form that submits GET. A <form> without method="POST" sends GET with the fields in the query string.
  • A redirect in front of the app turned a POST into a GET. When a POST gets a 301 or 302, for example from http to https, to www, or from a URL with a trailing slash, browsers repeat the request as GET. A 308 keeps the method. Laravel's own public/.htaccess sends a 301 for a trailing slash, so on Apache a form that posts to /contact/ arrives as GET /contact.
  • A missing @method. HTML forms only send GET and POST, so a PUT, PATCH or DELETE route called from a plain form receives POST: "The POST method is not supported for route profile. Supported methods: PUT."

How to fix it

See which methods the route accepts:

php artisan route:list --path=contact

Make the form send POST, with its CSRF token:

<form action="{{ route('contact.store') }}" method="POST">
    @csrf
    <button>Send</button>
</form>

For PUT, PATCH or DELETE, spoof the method. The @method directive adds a hidden _method field that Laravel uses as the request method:

<form action="{{ route('profile.update') }}" method="POST">
    @method('PUT')
    @csrf
</form>

For a redirect, point the form at the final address, with the same scheme and host and without a trailing slash. If the redirect has to stay, make it a 308 so the method survives:

return 308 https://$host$request_uri;

If people reach the URL by GET on purpose, give it a GET route that shows the form:

Route::get('/contact', [ContactController::class, 'create'])->name('contact.create');
Route::post('/contact', [ContactController::class, 'store'])->name('contact.store');

Find it in production

The visitor gets status 405. Laravel ships no page for 405, so with APP_DEBUG=false the response is a bare page that says "The server returned a "405 Method Not Allowed"". You can add your own at resources/views/errors/405.blade.php, or cover every 4xx status with resources/views/errors/4xx.blade.php. Laravel does not report this exception: MethodNotAllowedHttpException extends HttpException, which is on the internalDontReport list in the framework's exception handler, and storage/logs/laravel.log stays empty. Look for 405 responses in your web server's access log instead. Adding $exceptions->stopIgnoring(\Symfony\Component\HttpKernel\Exception\HttpException::class) in bootstrap/app.php makes Laravel log it, but also every other HTTP exception, 404s included.

Reproduced on Laravel 13.45, PHP 8.5, 5 December 2026.

Start monitoring today

Websites go down and code throws errors. Ranetrace tells you when it happens to yours, why it matters and what to do next.

Start your 30-day free trial From $9 a month. No credit card required.