Skip to content

Instantly share code, notes, and snippets.

@kzhangworks
Created November 26, 2014 07:08
Show Gist options
  • Save kzhangworks/6eff5f51eeab949e7ff6 to your computer and use it in GitHub Desktop.
Save kzhangworks/6eff5f51eeab949e7ff6 to your computer and use it in GitHub Desktop.
PUT to /v1/admins/apps/apple/certs upload apple certificate
curl -b cookies.txt -c cookies.txt -X PUT -F "certificate_dev=@aps_development.cer" "http://api-local.cloud.appcelerator.com/v1/admins/apps/apple/certs?key=xAP777Rw7uOSlOyRwW7F1BgqBJCsP9S9&pretty_json=true"
{
"meta": {
"code": 400,
"status": "fail",
"message": "Error: Fail to verify certificate file: aps_development.cer. Please make sure the password is correct.",
"method_name": "setApplePushCertificate"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment