我在路由文件中使用Route::delete()方法。在我将应用程序移到新服务器之前,我使用这种方法没有任何问题,但现在我得到了MethodNotAllowedHttpException。异常详细信息:
in RouteCollection.php line 218at RouteCollection->methodNotAllowed(
我想在Laravel中使用post方法,但它抛出了异常: RouteCollection.php第218行中的MethodNotAllowedHttpExceptionin RouteCollection.phpline 218
at RouteCollection->methodNotAllowed(array('GET', 'HEAD')) in RouteCollection.php line 2