Laravel post提交失败 返419 | Page Expired

Laravel post提交失败 返419 | Page Expired
Laravel post提交失败 返419 | Page Expired
在这出现 419 页面超时, 是因为Laravel 为了防止csrf攻击, 自动为用户进行添加的的token中间件.

解决:
方式一: 可在表单页添加form 下添加 @csrf
Laravel post提交失败 返419 | Page Expired

方式二: 关闭 VerifyCsrfToken 的web中间件. (在 app\Http\Kernel.php目录下, 搜web 找到VerifyCsrfToken,将其进行注释掉或删除) ,进行完全关闭csrf(跨站请求伪造)
Laravel post提交失败 返419 | Page Expired
便可正常接收了.
Laravel post提交失败 返419 | Page Expired