webcams.travel

ÜCRETSİZ PREMIUM
Verified
Taraf webcams.travel | Güncelleyen hace un año | Travel
Popülerlik

9.9 / 10

Gecikme

512ms

Hizmet Düzeyi

100%

Tüm Tartışmalara Dön

OPTIONS Preflight requests

avatar
vano00
hace 4 años

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 hace 4 años

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 hace 4 años

We are having this issue as well.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun
Değerlendirme: 5 - Oy Sayısı: 1