Discourse Meta
更新 Discourse 后 API 出现 Access-Control-Allow-Headers CORS 错误
支持
blake
(Blake Erickson)
2020 年4 月 12 日 18:24
7
您确实不应该将这些 API 凭据用于 CORS 请求,这就是为什么不允许该标头字段。
不过,我们允许在 CORS 中使用
user-api
标头:
3 个赞
在话题中显示帖子
相关话题
话题
回复
浏览量
活动
CORS error accessing API from javascript application
Development
11
3801
2023 年4 月 9 日
API CORS Headers Incorrect
Support
11
3003
2023 年6 月 8 日
Having issue accessing the Discourse APIs from react app
Development
rest-api
6
853
2023 年4 月 10 日
Getting an error while trying to fetch individual posts
General
1
888
2022 年4 月 14 日
Issue with Api
Development
1
898
2022 年8 月 16 日