Simplifying #webpush – a #HTTP to #VAPID service.
If you don’t want, or can’t install the server side components to handle web push notifications, you can use this service http://webpush.apixml.net/ to handle the push notification. As long as you can do a HTTP request, you can call this.
Send VAPID authenticated Web Push notifications with a single HTTP request
API Endpoint
http://webpush.apixml.net/server.js
Call with the following querytring variables:
- endpoint
- p256dh
- auth
- publicKey
- privateKey
- payload
– The endpoint returned by pushManager.subscribe
– The P256DH Key returned by pushManager.subscribe
– The Auth key returned by pushManager.subscribe
– The Public Key from VAPID
– The Private Key from VAPID
– The Json Payload
Here’s the source of the project if you want to host this yourself;
https://github.com/infiniteloopltd/webpushservice
And here’s a demo in action from www.cloudansweringmachine.com