2021-10-01 14:33:51 +00:00
|
|
|
id: api-googlefcm
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Google FCM API Test
|
|
|
|
author: zzeitlin
|
|
|
|
severity: info
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: token-spray,google,fcm,firebase,cloud,messaging
|
2021-10-01 14:33:51 +00:00
|
|
|
|
2021-10-20 08:46:18 +00:00
|
|
|
self-contained: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-10-01 14:33:51 +00:00
|
|
|
- method: POST
|
|
|
|
path:
|
|
|
|
- "https://fcm.googleapis.com/fcm/send"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-10-01 14:33:51 +00:00
|
|
|
body: "{'registration_ids':['ABC']}"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-10-01 14:33:51 +00:00
|
|
|
headers:
|
|
|
|
Authorization: key={{token}}
|
|
|
|
Content-Type: application/json
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100eadff7532cac17d4756f6adbba686b7ac51da0603c4818decf1e62ffa60efb12022100c875da839f664570270abae11e6c5d4dafbc271e898c03c8aa02b014adc3e2bc:922c64590222798bb761d5b6d8e72950
|