Enable CORS from front-end in React with axios?

前端 未结 3 585
无人共我
无人共我 2021-02-14 10:25

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\',
           


        
3条回答
提交回复
热议问题