Symfony \ Component \ HttpKernel \ Exception \ MethodNotAllowedHttpException No message Laravel 5.5

前端 未结 4 1426
再見小時候
再見小時候 2021-01-12 03:08

This is doing my head in. I\'m getting this error when trying to login from a form:

Symfony \\ Component \\ HttpKernel \\ Exception \\

Me

4条回答
  •  一整个雨季
    2021-01-12 03:42

    your answer of the route should be

    Route::post('/login', ['as' => 'login', 'uses' => 'LoginController@getLogin']);
    

提交回复
热议问题