webcams.travel

免费增值
通过 webcams.travel | 已更新 1年前 | Travel
人气

9.9 / 10

延迟

720ms

服务等级

100%

返回所有讨论

OPTIONS Preflight requests

avatar
vano00
4年前

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年前

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年前

We are having this issue as well.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论
打分:5 - 投票:1