laravel报错MethodNotAllowedHttpException 目录原因解决方法效果图 原因 这是路由的请求类型错误 解决方法 一般常见的请求类型为get、post和any,其中get一般用于渲染模板,post一般用于向服务器提交数据,any则是两者兼有. 效果图