The post method is not supported for this route. Supported methods: GET, HEAD. for login page
I have the following login.blade.php
web.blade
keep show the error even when I add @method('PUT') for login.blade
#"laravel"
1 Reply
you have 2 routes with
get
, but none that accept post
. either change the method="post"
to method="get"
(bad idea) or add a Route::post
or change /login
to Route::post
.