firebase angular push notification code example
Example: firebase angular send notification to by tocken
curl -X POST \ https://fcm.googleapis.com/fcm/send \ -H 'Authorization: key=YOUR-SERVER-KEY' \ -H 'Content-Type: application/json' \ -d '{ "notification": { "title": "Hey there", "body": "Subscribe to mighty ghost hack youtube channel" }, "to" : "YOUR-GENERATED-TOKEN"}'