Last active
November 20, 2020 01:40
-
-
Save tyfkda/ecba9c101d5449dda3cb to your computer and use it in GitHub Desktop.
Google Cloud Messagingでプッシュ通知を送る ref: http://qiita.com/tyfkda/items/e880f1e7f4fb78e45322
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 --header 'Authorization: key=<APIキー>' \ | |
| --header Content-Type:"application/json" \ | |
| https://android.googleapis.com/gcm/send \ | |
| -d '{"registration_ids":["<端末の登録ID>"],"data":{"message":"Hello", "url": "http://www.example.com/"}}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment