Push Demo


This Browsers Subscription

Below is your current subscription.


Supported Content Encodings

A change to the web push spec moves browsers from "aesgcm" to "aes128gcm" content encoding.

To determine which is supported the current browser you can view PushManager.supportedContentEncodings.

Below is the list of supported encodings.


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.