I am amending a website for a client and they are using a new API for their news. The news API comes from a separate domain so when I try to access I get CORS policy errors. I have said that I think they need to add the CORS Access Control header to the resource so the site can access it, but they said they don’t need to do that because the API is public.
The website is built in Nuxt 2 and I am using fetch and axios to make the call to the API.
I tried different methods of access but kept running into the same issues.
Is there another way I can access this API or do I just need to go back to the client and say that they need to change the API?
Thanks
1