D
D
Denis Pablo2021-03-11 04:41:09
JavaScript
Denis Pablo, 2021-03-11 04:41:09

Is it possible to bypass the CORS policy when sending a request to a foreign domain?

We have a domain: vasyanet.com and we want to use api on a foreign domain alisanet.com but as a result of sending a GET request or any other method, strict-origin-when-cross-origin is returned in the response from alisanet.com

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nadim Zakirov, 2021-03-11
@fl3xice

Can. To do this, it is enough to proxy the request through your server, which will add the necessary headers and remove the unnecessary ones. It is also possible to write a browser extension, the background extension process can make requests ignoring CORS.

B
Bob89991, 2021-03-11
@Bob89991

Permissions for cross-domain requests must be set on the alisanet.com domain

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question