अनुपलब्ध था, मैं पोस्टमैन फ़ायरबेस यूआरएल का उपयोग करके हिट करने की कोशिश कर रहा हूं लेकिन यह मुझे त्रुटि दे रहा है। मैं सेटअप पास सब होता है लेकिन यह अभी भी यह मुझे त्रुटिअनुरोध में प्रमाणीकरण कुंजी एफसीएम टोकन
यहाँ दे रहा है त्रुटि जो मैं डाकिया
<HTML>
<HEAD>
<TITLE>The request was missing an Authentification Key (FCM Token). Please, refer to section "Authentification" of the FCM documentation, at https://firebase.google.com/docs/cloud-messaging/server.</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>The request was missing an Authentification Key (FCM Token). Please, refer to section "Authentification" of the FCM documentation, at https://firebase.google.com/docs/cloud-messaging/server.</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
These things I am adding <br/>
url = 'https://fcm.googleapis.com/fcm/send'<br/>
method = POST<br/>
Headers <br/>
Authorization = 'FIREBASE_SERVER_API_KEY'<br/>
Content-Type = application/json<br/>
Body =
"{"registration_ids":["ids"],"priority":"high\",\"data\":{\"notification_id\":76,\"title\":\"dvxcv\",\"description\":\"xcvxv\",\"image\":\"/uploads/image/image/37513/Screenshot_from_2016-10-17_10_43_59.png\"}}"
मुझे पोस्टमैन में एक ही संदेश मिलता है और मेरे पास प्राधिकरण है: key = (यह क्लाउड मैसेजिंग टैब में दिखाया गया एफसीएम टोकन है) –
तो आपने कैसे हल किया? – ankur
अभी भी पता नहीं है कि क्या गलत है। –