title: Postman - Firebase notification ios
body: <p>I tried to send POST to firebase with Postman but i have an error : </p>
  
  <pre><code>&lt;HTML&gt;
      &lt;HEAD&gt;
          &lt;TITLE&gt;Unauthorized&lt;/TITLE&gt;
      &lt;/HEAD&gt;
      &lt;BODY BGCOLOR="#FFFFFF" TEXT="#000000"&gt;
          &lt;H1&gt;Unauthorized&lt;/H1&gt;
          &lt;H2&gt;Error 401&lt;/H2&gt;
      &lt;/BODY&gt;
  &lt;/HTML&gt;
  </code></pre>
  
  <p>Here is my body and header.
  For authorization I am not sure, I put the api server key of my ios firebase project.
  I'd like to send it and show the notification on my device.</p>
  
  <p>Thank you for the help.</p>
  
  <p><a href="https://i.stack.imgur.com/Iu80G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Iu80G.png" alt="HEADER"></a></p>
  
  <p><a href="https://i.stack.imgur.com/WuBmt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WuBmt.png" alt="BODY"></a></p>
  
  <p>When I launch the app with xcode, I got fail to fecth APNS but at the end : connected to FCM. </p>
  
  <pre><code>&lt;FIRAnalytics/INFO&gt; Firebase Analytics v.3200000 started
  2016-08-25 07:58:06.690 HelloCordova[2426:] &lt;FIRAnalytics/INFO&gt; To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled
  2016-08-25 07:58:06.741 HelloCordova[2426:671139] Firebase Crash Reporting: Successfully enabled
  2016-08-25 07:58:06.754: &lt;FIRInstanceID/WARNING&gt; FIRInstanceID AppDelegate proxy enabled, will swizzle app delegate remote notification handlers. To disable add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
  2016-08-25 07:58:06.755: &lt;FIRInstanceID/WARNING&gt; Failed to fetch APNS token Error Domain=com.firebase.iid Code=1001 "(null)"
  2016-08-25 07:58:06.764: &lt;FIRMessaging/INFO&gt; FIRMessaging library version 1.1.0
  2016-08-25 07:58:06.776: &lt;FIRMessaging/WARNING&gt; FIRMessaging AppDelegate proxy enabled, will swizzle app delegate remote notification receiver handlers. Add "FirebaseAppDelegateProxyEnabled" to your Info.plist and set it to NO
  2016-08-25 07:58:06.780 HelloCordova[2426:] &lt;FIRAnalytics/INFO&gt; Successfully created Firebase Analytics App Delegate Proxy automatically. To disable the proxy, set the flag FirebaseAppDelegateProxyEnabled to NO in the Info.plist
  2016-08-25 07:58:07.361: &lt;FIRInstanceID/WARNING&gt; APNS Environment in profile: development
  2016-08-25 07:58:07.574 HelloCordova[2426:671139] Resetting plugins due to page load.
  2016-08-25 07:58:07.796 HelloCordova[2426:] &lt;FIRAnalytics/INFO&gt; Firebase Analytics enabled
  2016-08-25 07:58:07.819 HelloCordova[2426:671139] Connected to FCM.
  2016-08-25 07:58:08.316 HelloCordova[2426:671139] Finished load of: file:///var/containers/Bundle/Application/1DE45D4B-AFB3-4F6D-83D7-71D1A6FE8F44/HelloCordova.app/www/index.html#/connected
  2016-08-25 07:58:10.094 HelloCordova[2426:671139] THREAD WARNING: ['GoogleMaps'] took '472.765137' ms. Plugin should use a background thread.
  2016-08-25 07:58:33.836 HelloCordova[2426:671139] Received memory warning.
  </code></pre>