请将请求头中使用的键名更改为 api-key 和 api-username。头部字段名不区分大小写,但下划线不能用来替代连字符。有关格式正确的 API 请求示例,请参阅本主题开头提供的示例:https://meta.discourse.org/t/discourse-api-documentation/22706。
5 个赞
请将请求头中使用的键名更改为 api-key 和 api-username。头部字段名不区分大小写,但下划线不能用来替代连字符。有关格式正确的 API 请求示例,请参阅本主题开头提供的示例:https://meta.discourse.org/t/discourse-api-documentation/22706。