Skip to content

zaru/web-push-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

web-push-sample

ServiceWorker WebPushNotification sample / demo script.

WebPush ruby gem here. https://github.com/zaru/webpush

usage

$ php -S localhost:9999

open http://localhost:9999

$ curl --header "Authorization: key=API_KEY" --header Content-Type:"application/json" https://android.googleapis.com/gcm/send -d "{\"registration_ids\":[\"endpoint\"]}"

About

ServiceWorker WebPushNotification sample / demo script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published