firebase fcm curl api is returning auto response code example
Example: curl tring for send message firebasde
curl -X POST -H "Authorization: Bearer YOUR-TOKEN" -H "Content-Type: application/json" -d '{
"message":{
"token":"TARGET_DEVICE_TOKEN",
"notification":{
"title":"Hello",
"body":"This is a text message!"
}
}
}' https://fcm.googleapis.com/v1/projects/YOUR-PROJECT-SHORT-NAME/messages:send