The GET method is not supported for this route. Supported methods: POST. laravel-8
Solution 1:
If you want to have routes available via GET and POST you can use match()
:
Route::group(['middleware'=>'guest:web'], function(){
Route::match(['get', 'post'], '/post-login', [LoginController::class,'postLogin'])->name('site.postLogin');
Route::match(['get', 'post'], '/register-create', [registerController::class,'create'])->name('site.register.create');
});
More on Available Router Methods