Alex BourgOriginal post
Quality
Hi, I am having an issue with CORS, it's working sometimes, but not always. I already setup a web app with "*" hostname as shown on the screenshots. please advice
Access to fetch at 'https://cms.itexpertnow.com/v1/account' from origin 'https://adminhub.cyberitex.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Summary
Issue with CORS policy when fetching data from 'https://cms.itexpertnow.com/v1/account' on 'https://adminhub.cyberitex.com'. No 'Access-Control-Allow-Origin' header present on the requested resource. Solution: Add the 'Access-Control-Allow-Origin' header to the response.