I know this post may be considered off-topic, I'm forced to ask, because I'm a little confused. My Android app subscribes some FCM topics and my server needs to send notifications with POST requests/json.
Looking here: https://firebase.google.com/docs/cloud-messaging/android/topic-messaging we can see Google example includes endpoint like this:
https://fcm.googleapis.com/v1/projects/myproject-b5ae1/messages:send
However, when I started looking for full api description, I found this: https://firebase.google.com/docs/cloud-messaging/http-server-ref and endoint is like this:
https://fcm.googleapis.com/fcm/send
So I'm a little confused, which one is recommended to use?