3

How do I send a push notification in postman, if I have the vapid keys and the subscriber? I have already configured the service worker, so thats not the question. I just want to send a simple request to test if it works.

For demonstrating purposes, here is my data in JSON-Format:

Vapid Keys

{
  "publicKey": "BPqcNuGC7sENCAIEBJ-b...";
  "privateKey": "DxuK61Dz...";
}

An example subscriber

{
  "endpoint": "https://fcm.googleapis.com/fcm/send/f6uPibFfDko:APA91...",
  "auth": "uzsYiokjDSV5...",
  "p256dh": "BPoneR3IDkTRoeCYmQAUUZ/tIAcXMfF5IrrCZWQp4wygQWhHyYxMD4jBUV/H..."
}
oemera
  • 3,223
  • 1
  • 19
  • 33

0 Answers0