Firebase:使用REST API发送通知 [英] Firebase : Send notification with REST API
问题描述
是否可以在Firebase上使用REST API发送推送通知?我可以使用Firebase控制台发送通知,但是我需要使用REST API发送通知.
这可能有帮助- https://firebase.google.com/docs/cloud-messaging/http-server-ref 您可以在此处找到示例消息- https://firebase.google.com/docs/cloud -消息传送/下游
从Firebase控制台,您可以获取服务器密钥作为授权,并将其放置在云消息"标签中的http标头中.
Is it possible to send push notification with REST API on Firebase? I can send notifications with Firebase console but i need to send notifications with REST API.
this may help - https://firebase.google.com/docs/cloud-messaging/http-server-ref where sample message you can find here - https://firebase.google.com/docs/cloud-messaging/downstream
from Firebase console you can get Server Key as an authorization you put in the http header, in the tab Cloud messaging.
这篇关于Firebase:使用REST API发送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!