Created
January 5, 2017 10:46
-
-
Save andreban/983758d7e5434680f383ae0c41232007 to your computer and use it in GitHub Desktop.
Subscribing to a Firebase Topic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -H "Authorization: key=<Firebase Auth Key>" -H "Content-Type: application/json" -d '{}' "https://iid.googleapis.com/iid/v1/<User-FCM-Token>/rel/topics/my-topic" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment