I am successfully using libcurl to send push notifications towards Apple
APN service.
Recently I learned that when response code is other than 200 (success)
APN sends additional JSON information about error:
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html
See table "Table 8-5APNs JSON data keys".
I was observing both:
https://curl.haxx.se/libcurl/c/curl_easy_getinfo.html
and struct Curl_easy, but I couldn't find a way to retrieve above JSON
information.
Can someone point me out how to achieve this?
Thank you.
--
Miloš Ljumović
Operating systems specialist Spec.App.
http://milos.expert.its.me
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html