title: Access to XMLHttpRequest at 'API_URL' from origin 'http://localhost:8080' has been blocked by CORS policy:
body: <blockquote>
    <p><code>Access to XMLHttpRequest at 'API_URL' from origin 'http://localhost:8080' 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.</code></p>
  </blockquote>
  
  <p>When I was run my localhost system to access server API. It will generate token instead of I am getting the error like above error. please help me.</p>