I am using React on the front-end and I\'m calling API from another domain which I don\'t own. My axios request:
axios(requestURL, { method: \'GET\',
One can use CORS-anywhere. It is a NodeJS reverse proxy which adds CORS headers to the proxied request.
If I want to add CORS to https://test-example.com, then I'd just do it as follows:
https://cors-anywhere-herokuapp.com/https://test-example.com