I connected to App Store Connect with my private key with the curl command line that was specified in the Generating Tokens for API Request and now I want to understand how to process a JWT Payload token with the command line specified in the "Generating Tokens for API Request" and don't understand how to use the commands POST or DELETE, can you help or are you interested in forming a team to solve these process issues ?
Can you give me a example of a curl command line that includes the json data of the request in the command or how to process the JWT Payload.json with the command specified to process the command from Xcode not from the Terminal.app ?
Kindly
Post
Replies
Boosts
Views
Activity
I'm interested in understanding how to Register a New Bundle ID for App Store Connect, I connected yesterday with my private key to the App Store Connect Server and want to take it to the next level. How do I create the JWT Token to write the data in the request for the curl command with my private key to transmit the command to the server ?
Kind Regards
Last login: Wed Jun 22 21:07:07 on ttys000
besleagaalexandru@Besleagas-iMac ~ % curl -v https://api.appstoreconnect.apple.com/v1/apps -H Authorization: Bearer JWT
* Trying 17.56.138.14:443...
* Connected to api.appstoreconnect.apple.com (17.56.138.14) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (OUT), TLS handshake, Client hello (1):
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: businessCategory=Private Organization; jurisdictionCountryName=US; jurisdictionStateOrProvinceName=California; serialNumber=C0806592; C=US; ST=California; L=Cupertino; O=Apple Inc.; OU=management:idms.group.506364; CN=api.appstoreconnect.apple.com
* start date: Mar 29 23:02:18 2022 GMT
* expire date: Apr 28 23:02:17 2023 GMT
* subjectAltName: host "api.appstoreconnect.apple.com" matched cert's "api.appstoreconnect.apple.com"
* issuer: C=US; O=Apple Inc.; CN=Apple Public EV Server RSA CA 2 - G1
* SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fdc94811c00)
> GET /v1/apps HTTP/2
> Host: api.appstoreconnect.apple.com
> user-agent: curl/7.79.1
> accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 1024)!
< HTTP/2 401
< server: daiquiri/3.0.0
< date: Wed, 22 Jun 2022 18:19:53 GMT
< content-type: application/json
< content-length: 350
< strict-transport-security: max-age=31536000; includeSubDomains
< x-apple-jingle-correlation-key: TZWEA7WLMROU6HAI3D3FNR6M6I
< x-daiquiri-instance: daiquiri:18493001:mr85p00it-hyhk03154801:7987:22RELEASE83:daiquiri-amp-all-shared-ext-001-mr
<
{
"errors": [{
"status": "401",
"code": "NOT_AUTHORIZED",
"title": "Authentication credentials are missing or invalid.",
"detail": "Provide a properly configured and signed bearer token, and make sure that it has not expired. Learn more about Generating Tokens for API Requests https://developer.apple.com/go/?id=api-generating-tokens"
}]
* Connection #0 to host api.appstoreconnect.apple.com left intact
}* Could not resolve host: Bearer
* Closing connection 1
curl: (6) Could not resolve host: Bearer
* Could not resolve host: JWT
* Closing connection 2
curl: (6) Could not resolve host: JWT
besleagaalexandru@Besleagas-iMac ~ %
I used the "the private key associated with the key ID you specified in the header to sign the token" and received the error specified that I don't manage to undederstand in these context.
Can you provide an example of signed token ?
Kind Regards
I have the JWT header and the JWT payload and I want to know how to create a authorisation header for the signed JWT Token and from where to run the command line to process the request. Do I need to to run it from the Terminal App or from Xcode and compile the command line ?
Xcode Cloud has officially launched and I’m searching to form a team on my Apple Developer Program Member Account to develop a iOS App for the App Store for the App Store Small Business Program to program the server side functionality of the App.
Kind Regards
I’m interested in learning to program code in collaboration with a team and also on other projects and new plans, I finally managed to resolve my first access issue and got the start result for programming access line of code on the Apple platform for iOS App digital product(“software”) and am interested in finding a partner for the start up of these potential business.
Kindly
I have a JWT Header.json and a JWT Payload.json and App Store Connect is asking for a JWT Signed Token with a curl command to allow communication with the server. How do I sign the token and can I enter the command line in Xcode or only from the Terminal App ?
Kindly
I’m asking for knowledge after researching the documentation and found the File System in the filter search, if I migrate my code to export it from Objective-C to Swift to access the file system, can a code my own file extension ?
I have been programming for a few months until present and have a personal issue that I want to find a solution for, I'm only interested in Objective-C, when I open Xcode it show the editor area and the storyboard file for iOS App's.
What lines of code should I type in the main file so I can see the result in the storyboard after I run the code ?
Kindly
I'm interested in finding how to pair the real device to Xcode 13 to learn how to develop a watchOS 7 App. I click the option to build for real device and receive a system prompt to pair the device. How do I pair the the watch ?
I'm a Objective-C programmer and want to find out how to resolve my issues. When I start to type Objective-C I receive somatic issue and errors. My question is, where can I read about solving these issues ?
I want to install on my Mac all the operating systems available for the combination that it offers. When I try to install older versions the propter says the version of the Mac is old. How can I get the new versions of the operating system ? For example now I have macOS Big Sur, macOS Monterey and macOS Monterey Beta and I want to also install macOS Sierra.
I'm trying to create a project to obtain the URL for my domain to start developing my first website. I started searching to learn how to find what I'm looking for in the documentation and found the URL in the Foundation at Fundamentals and want to know what project to create for the Run command to open the URL in Safari.
Kind Regards
I have a container in CloudKit and learning how to type commands, it asks for the container id. Where can I find the CloudKit container id ?
Kindly
I want to learn how to load a URL from foundation, resource with the network loading system.