Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

When is the FCM HTTP v1 API supported? #36

Open
camry opened this issue Sep 18, 2018 · 1 comment
Open

When is the FCM HTTP v1 API supported? #36

camry opened this issue Sep 18, 2018 · 1 comment
Assignees

Comments

@camry
Copy link

camry commented Sep 18, 2018

When is the FCM HTTP v1 API supported?

url: https://firebase.google.com/docs/cloud-messaging/server?authuser=0#choose

Example:

curl -X POST -H "Authorization: Bearer ya29.ElqKBGN2Ri_Uz...HnS_uNreA" -H "Content-Type: application/json" -d '{
  "notification": {
    "title": "FCM Message",
    "body": "This is a Firebase Cloud Messaging Topic Message!",
  },
  "topic" : "foo-bar"
}' "https://fcm.googleapis.com/v1/projects/myproject-b5ae1/messages:send HTTP/1.1"
@weierophinney
Copy link
Member

@mwillbanks Any ideas for this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants