title: Firebase Cloud Messaging with Postman: Connection error as soon as I add authorization
body: <p>I'm trying to do a push notification using Firebase Cloud Messaging with Postman to the url <code>https://fcm.googleapis.com/fcm/send</code>.</p>
  
  <p>Here is the data that I use:</p>
  
  <pre><code>method: POST,
  headers: {
    "Content-Type": application/json,
    "Authorization": key=&lt;my_api_key&gt;
  },
  body: {
      "to": "&lt;some_device_key&gt;",
      "notifcation": {
          "title": "Hi",
          "body": "test",
          "subtitle": "Jo"
      }
  }
  </code></pre>
  
  <p>The body is added using the 'raw' setting. The problem is that I immedietly get he response:</p>
  
  <p><a href="https://i.stack.imgur.com/h9TqX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h9TqX.png" alt="Failed response from FCM"></a></p>
  
  <p>But when I leave out the <code>Authorization</code> key in the header, I get:</p>
  
  <pre><code>&lt;HTML&gt;
      &lt;HEAD&gt;
          &lt;TITLE&gt;The request was missing an Authentication Key (FCM Token). Please, refer to section &amp;quot;Authentication&amp;quot; of the FCM documentation, at https://firebase.google.com/docs/cloud-messaging/server.&lt;/TITLE&gt;
      &lt;/HEAD&gt;
      &lt;BODY BGCOLOR="#FFFFFF" TEXT="#000000"&gt;
          &lt;H1&gt;The request was missing an Authentication Key (FCM Token). Please, refer to section &amp;quot;Authentication&amp;quot; of the FCM documentation, at https://firebase.google.com/docs/cloud-messaging/server.&lt;/H1&gt;
          &lt;H2&gt;Error 401&lt;/H2&gt;
      &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>So somehow adding <code>Authorization</code> to the header messes up the request. What could be the reason? The given section of the documentation does not have an 'Authentication' section.</p>