title: Error: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource
body: <p>I requests s3 server through axios, and I got <code>Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.</code> Also, before that, I got <code>OPTIONS https://s3.ap-northeast-2.amazonaws.com/.../... 403 (Forbidden)</code></p>
  
  <p>I should solve this problem in client-side. I am hosting my files on my local machine.
  My request codes are below.</p>
  
  <pre><code>axios({
    url: 'https://s3.ap-northeast-2.amazonaws.com/.../...',
    method: 'get',
    withCredentials: true,
    headers: {
      'Content-Type': 'image/jpeg',
      'Access-Control-Allow-Origin': 'http://*, https://*',
    }
  </code></pre>
  
  <p>})</p>
  
  <p>I tried </p>
  
  <ol>
  <li><code>start chrome --disable-web-security</code> using git</li>
  <li>Installed chrome plugin - Allow-Control-Allow-Origin: *</li>
  </ol>
  
  <p>nothing worked... How can I solve this problem?</p>