title: sending POST request to FCM not accepting authorization header in angular
body: <p>So I'm trying to use FCM to send notifications from Angular web application to mobile app using Firebase cloud messaging..</p>
  <p>but I'm getting 401 response  &quot;the request was missing an Authentication Key&quot;,
  I tested the the same request on POSTMAN and it was working but on angular it is not..</p>
  <p>here is my my code :</p>
  <pre><code>pushNotification(title , body){
  
  
  this.http.post('https://fcm.googleapis.com/fcm/send' , {
    header: {
      'Content-Type':  'application/json',
      'Authorization' :  'key='+ environment.cloudMessages.serverKey
    }, 
    body: {
      &quot;notification&quot;: {
        &quot;title&quot;: title   ,
        &quot;body&quot;:  body,
        &quot;mutable_content&quot;: true      
        },
        &quot;priority&quot;:&quot;high&quot;,
    }
  }).subscribe(res =&gt; {
    console.log(res);
  })
  
  }
  }
  </code></pre>
  <p>Where my key is the server key from cloud messaging..</p>