Push Notification Demo

Key Value
Endpoint
Server Key
Client Token

HTTP POST Request

          
          https://gcm-http.googleapis.com/gcm/send
          Content-Type:application/json
          Authorization:key=AIzaSyZ-1u...fMwj0qwRt-bJvirI
          { "data": {
              "message": "How to create PayPal account?",
              "url": "http://thanhnien.vn"
            },
            "to" : "client_token"
          }
        

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