I have below Axios code written in my js file -
Axios.get(url,{ headers: { \'Access-Control-Allow-Origin\': \'*\' } }) .