title: Vue and Axios CORS error No 'Access-Control-Allow-Origin' header is present on the requested resource
body: <p>I am currently getting the above error, I am using Axios to make the GET request to an external API. After reading the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS#Access-Control-Allow-Headers" rel="noreferrer">Mozilla</a> docs, doing a lot of research and trying different options I am still not any better off.</p>
  
  <p>I have stripped the code back to the basics:</p>
  
  <pre><code>axios.get('URL.com', {
          headers: {
            Access-Control-Allow-Origin: *
          },
          auth: {
            username: 'username',
            password: 'password'
          },
        })
        .then(function (response) {
          console.log(response);
        })
        .catch(function (error) {
          console.log(error);
        });
  </code></pre>
  
  <p>Do I need to add anything else to the headers?</p>
  
  <p>Everything works through Postman so once I can pass the CORS issue everything will work.</p>