Last active
April 10, 2019 17:06
-
-
Save mitchtabian/536728790f7b00ecee33675c9e992f4e to your computer and use it in GitHub Desktop.
This file contains 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
//url | |
https://fcm.googleapis.com/fcm/send | |
//headers | |
Authorization: <Your Server Key> | |
Content-Type: application/json | |
//body | |
{ | |
"to" : "< user FCM token >", | |
"data" : { | |
"message" : "This is my data message", | |
"title" : "This is my data title", | |
"data_type": "direct_message" | |
} | |
} |
@firdauser, I guess these codes will be used in Postman but only the body (curly brackets) part, the others show the required information to add in url and headers sections there.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Sir. May I know where you put this command or file in project directory?