Solved CORS policy: No 'Access-Control-Allow-Origin'
Let's start by understanding why you receive the following error message: XMLHttpRequest cannot load ... has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ... is therefore not allowed access. As defined by Wikipedia, CORS (Cross-origin resource sharing) is