你好,
我正在尝试创建新帖子,但遇到了“BAD CSRF”错误,有人能帮我解决吗?
请将请求头中使用的键名更改为 api-key 和 api-username。头部字段名不区分大小写,但下划线不能用来替代连字符。有关格式正确的 API 请求示例,请参阅本主题开头提供的示例:https://meta.discourse.org/t/discourse-api-documentation/22706。
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.