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

前端 未结 4 1424
再見小時候
再見小時候 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:52

    This problem appears only if you forget attached method on your form or error in Route method.

    So be sure you added method POST/GET in your form. And don't forget make matching route.

    If your form method is post. make post route like this.

    Route::post();
    

    I hope you understand the method define. If you're facing problem, comment below.

提交回复
热议问题