title: Using Fetch with Authorization Header and CORS
body: <p>I'm trying to get my request to go through to a online game API that I can't seem to get working. I'm using the <strong>Fetch</strong> API, and some request require <strong>Authorization Bearer token</strong>, but the request never gets sent with the authorization header.</p>
  
  <p>I have tried</p>
  
  <pre><code>mode: 'no-cors',
  credentials: 'include'
  </code></pre>
  
  <p>and obviously putting the Authorization in the header like so</p>
  
  <pre><code>header: { 'Authorization': 'Bearer TOKEN' }
  </code></pre>
  
  <p>but the request still does not go with the authorization. Can anyone point me in the right direction?</p>
  
  <p>EDIT
  Heres the way I am making the request</p>
  
  <pre><code>fetch(URL, {
    credentials: 'include',
    header: {
      'Authorization': 'Bearer TOKEN'
    }
  })
  </code></pre>