在laravel框架中使用ajax请求报错419

laravel框架中报419

419 unknown status

这个时候你需要将这个接口放到api路由上,这样可以跳过CSRF的检查

猜你喜欢

转载自www.cnblogs.com/lxwphp/p/9585546.html