title: What do I use for the Auth-Token when doing resumable uploads to Google Cloud Storage?
body: <p>I'm reading through the google cloud storage <a href="https://cloud.google.com/storage/docs/json_api/v1/how-tos/resumable-upload" rel="nofollow noreferrer">documentation</a> about resumable uploads and I'm unclear as to what I should include for the Auth-Token in the request header. The initial request they suggest using looks like this: </p>
  
  <pre><code>POST https://www.googleapis.com/upload/storage/v1/b/myBucket/o?uploadType=resumable HTTP/1.1
  Authorization: Bearer [YOUR_AUTH_TOKEN]
  Content-Length: 38
  Content-Type: application/json; charset=UTF-8
  X-Upload-Content-Type: image/jpeg
  X-Upload-Content-Length: 2000000
  
  {
    "name": "myObject"
  }
  </code></pre>
  
  <p>I'm using an API key for my application, so I append the request URL with a key that looks like <code>&amp;key=myAPIKey</code>.</p>
  
  <p>I get a 401 response (<code>Invalid Credentials</code>), which I assume is because I'm not including the correct token in the request header.</p>
  
  <p>My question is, what do I include in the Authorization request header? </p>