Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/perl/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Push notification 如何在Postman中使用带无趣键的push API发送推送通知?_Push Notification_Firebase Cloud Messaging_Postman_Push Api_Vapid - Fatal编程技术网

Push notification 如何在Postman中使用带无趣键的push API发送推送通知?

Push notification 如何在Postman中使用带无趣键的push API发送推送通知?,push-notification,firebase-cloud-messaging,postman,push-api,vapid,Push Notification,Firebase Cloud Messaging,Postman,Push Api,Vapid,如果我有无趣的键和订户,如何在postman中发送推送通知?我已经配置了服务人员,所以这不是问题所在。我只想发送一个简单的请求来测试它是否有效 出于演示目的,以下是我的JSON格式数据: 乏味的按键 { "publicKey": "BPqcNuGC7sENCAIEBJ-b..."; "privateKey": "DxuK61Dz..."; } 示例订户 { "endpoint": "https://fcm.googleapis.com/fcm/send/f6uPibFfDko:AP

如果我有无趣的键和订户,如何在postman中发送推送通知?我已经配置了服务人员,所以这不是问题所在。我只想发送一个简单的请求来测试它是否有效

出于演示目的,以下是我的JSON格式数据:

乏味的按键

{
  "publicKey": "BPqcNuGC7sENCAIEBJ-b...";
  "privateKey": "DxuK61Dz...";
}
示例订户

{
  "endpoint": "https://fcm.googleapis.com/fcm/send/f6uPibFfDko:APA91...",
  "auth": "uzsYiokjDSV5...",
  "p256dh": "BPoneR3IDkTRoeCYmQAUUZ/tIAcXMfF5IrrCZWQp4wygQWhHyYxMD4jBUV/H..."
}