You need to use headers for the API key and username. Check http://docs.discourse.org/ for details.
david
(David Taylor)
10
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| CORS error accessing API from javascript application | 11 | 4171 | April 9, 2023 | |
| Acess-Control-Allow-Headers CORS Error with API after updating discourse | 9 | 3497 | July 22, 2020 | |
| Having issue accessing the Discourse APIs from react app | 6 | 1024 | April 10, 2023 | |
| Request header field User-Api-Key is not allowed by Access-Control-Allow-Headers | 6 | 2741 | August 30, 2018 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1604 | November 28, 2019 |