rest api used --http2
Posted: Fri Aug 11, 2017 9:16 am
Hello Friends,
I want to program rest api for this case:
curl -d '{"aps":{"alert":"hi","sound":"default"}}' \
--cert <your-certificate.pem>:<certificate-password> \
-H "apns-topic: <your-app-bundle-id>" \
--http2 \
https://api.development.push.apple.com/ ... vice-token>
that is use --http2 parameter. how can I define in "set the httpHeaders to" structure.
I am grateful for your help.
Regards,
Anil
I want to program rest api for this case:
curl -d '{"aps":{"alert":"hi","sound":"default"}}' \
--cert <your-certificate.pem>:<certificate-password> \
-H "apns-topic: <your-app-bundle-id>" \
--http2 \
https://api.development.push.apple.com/ ... vice-token>
that is use --http2 parameter. how can I define in "set the httpHeaders to" structure.
I am grateful for your help.
Regards,
Anil