Push Demo


CURL Command

Copy and paste the following CURL command into your terminal to send a push message to your browser.


Push from a Server

To send a push message to this page, you need to make a network request from your server with the following pieces of info (this is essentially a breakdown of the CURL command above):

Endpoint URL
Headers
Request Body

Type:

Content:


Notes:

  • For more info on the encryption of payloads: Check out this link for info.
  • Not seeing a notification in Firefox? This bug may be the culprit. Check the logs for a note when the push is received though.
  • Opera supports push on Android, but not on desktop and there is no feature detect for this :(. Bug has been filed on their private issue tracker.