Difference between revisions of "Curl -v --header"
Jump to navigation
Jump to search
(Created page with "{{lc}} curl -v --header") |
|||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | [[curl -v]] --header | + | [[curl -v]] [[--header]] |
+ | |||
+ | |||
+ | [[Apple push notification]]: | ||
+ | curl -v --header "apns-topic: $TOPIC" --header "[[apns-push-type]]: alert" --header "authorization: bearer $AUTHENTICATION_TOKEN" --data '{"aps":{"alert":"test"}}' --http2 https://${APNS_HOST_NAME}/3/device/${DEVICE_TOKEN} |
Latest revision as of 10:22, 21 February 2023
curl -v --header
curl -v --header "apns-topic: $TOPIC" --header "apns-push-type: alert" --header "authorization: bearer $AUTHENTICATION_TOKEN" --data '{"aps":{"alert":"test"}}' --http2 https://${APNS_HOST_NAME}/3/device/${DEVICE_TOKEN}
Advertising: