Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

naturalprogrammer/webpush-java-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

Java WebPush Demo application

Try it out

  • 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"
}'

References

About

WebPush Java Demo with Spring Boot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /