curl / Mailing Lists / curl-library / Single Mail


HTTP2 push notifications - APNs JSON response

From: Miloš Ljumović <>
Date: Thu, 08 Dec 2016 23:19:45 +0100

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:
See table "Table 8-5APNs JSON data keys".

I was observing both:
and struct Curl_easy, but I couldn't find a way to retrieve above JSON

Can someone point me out how to achieve this?
Thank you.

Miloš Ljumović
Operating systems specialist Spec.App.
List admin:
Received on 2016-12-08