Ricevo un errore CORS perché il server si aspetta l’header User-Api-Key. Esamino gli header attesi nella risposta OPTIONS e questo è ciò che viene indicato. C’è un argomento simile altrove in questo forum in cui un utente stava riscontrando questo problema chiamando da un’app JavaScript.
tdekoekkoek
(Trevor de Koekkoek)
5
Argomenti correlati
| Argomento | Risposte | Visualizzazioni | Attività | |
|---|---|---|---|---|
| API CORS Headers Incorrect | 10 | 3082 | Luglio 6, 2020 | |
| Acess-Control-Allow-Headers CORS Error with API after updating discourse | 9 | 3314 | Luglio 22, 2020 | |
| Having issue accessing the Discourse APIs from react app | 6 | 929 | Aprile 10, 2023 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1511 | Novembre 28, 2019 | |
| Getting an error while trying to fetch individual posts | 1 | 912 | Aprile 14, 2022 |