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 | 1786 | April 8, 2023 | |
| CORS error accessing API from javascript application | 11 | 3837 | April 9, 2023 | |
| API CORS Headers Incorrect | 11 | 3024 | June 8, 2023 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1484 | November 28, 2019 | |
| Acess-Control-Allow-Headers CORS Error with API after updating discourse | 9 | 3275 | July 22, 2020 |