从react应用访问Discourse API时遇到问题

如果您尝试使用 Admin API(而不是 User API),则所需的标头字段是 Api-KeyApi-Username