webcams.travel

FREEMIUM
Par webcams.travel | Mise à jour il y a un an | Travel
Popularité

9.9 / 10

Latence

770ms

Niveau de service

100%

Retour à toutes les discussions

OPTIONS Preflight requests

avatar
vano00
il y a 4 ans

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 il y a 4 ans

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 il y a 4 ans

We are having this issue as well.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires
Note : 5 - Votes : 1