您好,欢迎访问一九零五行业门户网

post提交数据时显示异常如何处理

post提交数据时候显示如下:the page has expired due to inactivity. please refresh and try again
这是由于在laravel框架中有此要求:任何指向 web 中 post, put 或 delete 路由的 html 表单请求都应该包含一个 csrf 令牌,否则,这个请求将会被拒绝。
eg:
<form method="post" action="/profile"> {{ csrf_field() }} ...</form>
以上就是post提交数据时显示异常如何处理的详细内容。
其它类似信息

推荐信息