Estou recebendo um erro CORS porque o servidor está esperando User-Api-Key. Examinei os cabeçalhos esperados na resposta OPTIONS e é isso que está escrito. Há um tópico semelhante em outro lugar neste fórum onde um usuário estava enfrentando isso ao chamar de um aplicativo JavaScript.
tdekoekkoek
(Trevor de Koekkoek)
5
Tópicos relacionados
| Tópico | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
| API CORS Headers Incorrect | 10 | 3082 | 6 de Julho de 2020 | |
| Acess-Control-Allow-Headers CORS Error with API after updating discourse | 9 | 3314 | 22 de Julho de 2020 | |
| Having issue accessing the Discourse APIs from react app | 6 | 929 | 10 de Abril de 2023 | |
| Authenticating using API keys when accessing API through fetch | 4 | 1511 | 28 de Novembro de 2019 | |
| Getting an error while trying to fetch individual posts | 1 | 912 | 14 de Abril de 2022 |