This is a very simple example of how to use the HTML5 Desktop Notifications API to send notifications from your server. Beware that HTML5 Notifications are not supported by all browsers yet, you can get the latest list of supported browsers from here.
Create a new free channel at ScaleDrone.com or use the one from the example for testing.
http://scaledrone.github.io/html5-javascript-push-notifications/
Clone this repository and run it using your favorite http server.
You can push a notification from Terminal using cURL
:
curl --include \
--request POST \
--data-binary 'Buy cheese and bread for breakfast.' \
https://api2.scaledrone.com/dIVCxD01G4x1sDtC/notifications/publish