Created
July 1, 2014 10:35
-
-
Save shikajiro/54ebbb97196166bb0d65 to your computer and use it in GitHub Desktop.
gcm push curl
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=<server key>" --header Content-Type:"application/json" https://android.googleapis.com/gcm/send -d "{\"registration_ids\":[\"<registration id>\"],\"data\":{\"message\":\"Hello\"}}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GCMのテストpushをローカルから実行する場合の処理