Created
December 4, 2019 02:36
-
-
Save MateusDeSousa/66f88f8c1d91ea8bf8dec4c3b4101e71 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
curl -X POST -H "Authorization: key=chavedoservidorfirebase" -H "Content-Type: application/json" -d '{ | |
"content_available": true, | |
"priority": "high", | |
"data": { | |
"link" : "https://www.hackingwithswift.com/example-code/system/how-to-open-a-url-in-safari", | |
"externalLink" : "www.deutudocertolinkexternal.com" | |
}, | |
"notification": { | |
"title" : "Verique seu CPF agora", | |
"body" : "Veja se seu CPF permance regular", | |
"sound": "default" | |
} | |
"to":"tokendodispositivo" | |
}' "https://fcm.googleapis.com/fcm/send" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
script para requisições de teste de push notification.