Generate FCM push notification code and payloads for testing
No custom data fields. Click "Add Field" to add key-value pairs.
{
"to": "DEVICE_TOKEN",
"notification": {
"title": "Hello from FCM",
"body": "This is a test notification"
}
}curl -X POST \
https://fcm.googleapis.com/fcm/send \
-H "Authorization: key=YOUR_SERVER_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "DEVICE_TOKEN",
"notification": {
"title": "Hello from FCM",
"body": "This is a test notification"
}
}'