[Vuejs]-API is using CORS, how can I use axios in vue?

1👍

the issue is that http is being redireced to https, you get a redirect header, which is absent of wildcard CORS policy.

as you can see,
https://codesandbox.io/s/javascript-es6-axios-app-y80n5

this works fine for axios request to ‘https://corona-api.com/countries

👤baku

Leave a comment