curl --header "Content-Type: application/json" --header "Authorization: key=AAAAs...Ukq-6" https://fcm.googleapis.com/fcm/send -d '{"notification": {"body": "Hello from curl via FCM!", "sound": "default"}, "priority": "high", "to": "f5au...Qpi"}' --verbose
...
< HTTP/2 200
...
{"multicast_id":6251413622120464223,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"InternalServerError"}]}
If I specify a wrong recipient, I get an InvalidRegistration error as expected. Similarly, a bad auth key yields some authentication error as expected. Valid input yields the shown internal server error.
--
You received this message because you are subscribed to the Google Groups "android-gcm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-gcm...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-gcm/29241399-0aab-4f54-a172-b893d7d07ece%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.