Before sending
axios.defaults.headers.common[‘Authorization’] = localStorage[‘token’];
in request, application and API works good but after sending
axios.defaults.headers.common[‘Authorization’] = localStorage[‘token’];
CORS error comes.
I’ve tried header modification at application level and .htaccess
modification at server level but not working.