# 表单伪造和 CSRF 保护 表单提交会出现419错误 ```html
用户名:
``` csrf_token ```html @csrf @method('PUT') ``` 配置白名单 ```php */ protected $except = [ 'api/*' ]; } ```