我启用了交叉原点,但仍显示错误:
Response for preflight has invalid HTTP status code 405
XMLHttpRequest cannot load http://local.admin.com/public/api/v1/employee/20. Response for preflight has invalid HTTP status code 405
答案 0 :(得分:0)
错误,所以我在流明中添加了标题,现在问题解决了