GeezerVison is showing github.com — GitHub - naturalprogrammer/webpush-java-demo: WebPush Java Demo with Spring Boot
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
Java WebPush Demo application
- Checkout and run the application
- Visit http://localhost:8080 and then click on subscribe
- Post a notification by using the following command from linux/mac (or a git-bash terminal in Windows):
curl -X POST \
http://localhost:8080/notify-all \
-H 'Cache-Control: no-cache' \
-H 'Content-Type: application/json' \
-d '{
"title": "NaturalProgrammer",
"message": "NaturalProgmmer.com - where quality matters",
"clickTarget": "http://www.naturalprogrammer.com"
}'
About
WebPush Java Demo with Spring Boot
Resources
Stars
22 stars
Watchers
1 watching
Forks