Access to Resource at ‘https://somesite.com’ from origin ‘https://domain.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://domain.com’ is therefore not allowed access.
While working on Azure Service App I got an issue related to ‘Access-Control-Allow-Origin’ , luckily there is CORS related functionality available to us in App Service under API | CORS
You can put the domain from which you are getting resource, i.e. ‘https://somesite.com’ , note that you do not put / at the end of the website name.