Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

firebase php curl

curl -X POST --header "Authorization: key=<API_ACCESS_KEY>" 
    --Header "Content-Type: application/json" 
    https://fcm.googleapis.com/fcm/send 
    -d "{"to":"<YOUR_DEVICE_ID_TOKEN>","notification":{"title":"Hello","body":"Yellow"}}"
 
PREVIOUS NEXT
Tagged: #firebase #php #curl
ADD COMMENT
Topic
Name
9+8 =