【发布时间】:2019-05-18 21:01:09
【问题描述】:
我在发布数据后收到此错误。
路线;
Route::post('/classified/location', 'ClassifiedController@locationPost')->name('location-post');
表格;
<form class="form" method="post" action="/classified/location">
@csrf
【问题讨论】:
-
你清除你的路由缓存了吗?喜欢
php artisan route:clear? -
你声明了csrf令牌吗?比如你的视图文件中的 {{ csrf_fields() }}。
-
-
是的,我已经运行了 artisan 命令