Push Notification Demo

Key Value
Endpoint
Server Key
Client Token

HTTP POST Request

          https://android.googleapis.com/gcm/send
          Content-Type:application/json
          Authorization:key=AIzaSyZ-1u...fMwj0qwRt-bJvirI

          { "data": {
              "message": "How to create PayPal account?",
              "url": "http://www.ninjacoders.info/"
            },
            "to" : "client_token"
          }
        

We can't send 'Data' through GCM on browsers, if you send 'Data' in your POST request it will get ignored.