Hi there,
I am hitting this curl request and getting 200 response code ( curl -v -d '{"aps":{"alert":"Test VoIP Push","sound":"default"}}' \
-H "apns-topic: com.chilll.dev.voip" \
-H "apns-push-type: voip" \
-H "authorization: bearer ${JWT}" \
--http2 \
--cert /Users/md/Documents/Chilll\ Certificates/voip_services_dev.pem \ https://api.sandbox.push.apple.com/3/device/4b4a3fbf7c0e91fb1ee54e562a621467e21275c8ea1afc78ae6c5303cd765464 )
but I want to check the status of the VoIP token, In this case I'm getting 405 response code and this error - {"reason":"MethodNotAllowed"} when hitting this curl request (curl -v -X GET \
-H "apns-topic: com.chilll.dev.voip" \
-H "authorization: bearer ${JWT}" \
--http2 \ https://api.sandbox.push.apple.com/3/device/4b4a3fbf7c0e91fb1ee54e562a621467e21275c8ea1afc78ae6c5303cd765464/status/75556da2-cd29-4113-3354-3f3969c0a7de ).
So I'm kind of stuck. Could you please assist me with the solution as soon as possible.
Thanks
Mahesh Kumar