1 2 3 |
The page <span class="hljs-keyword">has</span> expired due <span class="hljs-keyword">to</span> inactivity. Please refresh <span class="hljs-keyword">and</span> <span class="hljs-keyword">try</span> again |
这是由于在laravel框架中有此要求:任何指向 web 中 POST, PUT 或 DELETE 路由的 HTML 表单请求都应该包含一个 CSRF 令牌,否则,这个请求将会被拒绝。
eg:
1 2 3 4 5 6 |
<form method=<span class="hljs-string">"POST"</span> action=<span class="hljs-string">"/profile"</span>> {{ csrf_field() }} <span class="hljs-keyword">...</span> </form> |