webcams.travel

FREEMIUM
Verified
Por webcams.travel | Atualizado a year ago | Travel
Popularidade

9.9 / 10

Latência

542ms

Nível de serviço

100%

Voltar para todas as discussões

OPTIONS Preflight requests

avatar
vano00
4 years ago

Hi,

Why OPTIONS preflight requests needs authentification? In a React application, when the browser send a preflight request to the API, I get a 401 error, so I had to configure a Proxy to be able to send the GET request through my server instead of the browser.

Thanks in advance for you answer.

avatar
webcams.travel commented 4 years ago

This seems to be a restriction of the mashape proxy. Can you configure React such that it sends the mashape key in the header of the OPTIONS request?

B
blueglass commented 4 years ago

We are having this issue as well.

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários
Avaliação: 5 - Votos: 1