Skip to content

Commit 31092b5

Browse files
author
Nitin Raturi
committed
updated readme
1 parent 8a9de53 commit 31092b5

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

readme.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
# Run the following commands
1+
# Documentation
22

3-
* openssl ecparam -name prime256v1 -genkey -noout -out vapid_private.pem
4-
* openssl ec -in vapid_private.pem -pubout -out vapid_public.pem
5-
6-
* openssl ec -in ./vapid_private.pem -outform DER|tail -c +8|head -c 32|base64|tr -d '=' |tr '/+' '_-' >> private_key.txt
7-
* openssl ec -in ./vapid_private.pem -pubout -outform DER|tail -c 65|base64|tr -d '=' |tr '/+' '_-' >> public_key.txt
8-
9-
10-
* curl -X GET http://localhost:8080/subscription/
11-
* curl -X POST http://localhost:8080/push/
3+
* Follow the article:
4+
* https://raturi.in/blog/webpush-notification-using-python-and-flask/

0 commit comments

Comments
 (0)