If you’re trying to consume the Admin API (as opposed User API), the header fields required are Api-Key and Api-Username.
Arkshine
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| CORS policy configuration with React | 3 | 1794 | April 8, 2023 | |
| CORS error accessing API from javascript application | 11 | 3868 | April 9, 2023 | |
| API CORS Headers Incorrect | 11 | 3054 | June 8, 2023 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1496 | November 28, 2019 | |
| Acess-Control-Allow-Headers CORS Error with API after updating discourse | 9 | 3287 | July 22, 2020 |