Calling
The following figure shows the process of calling an API.
- Obtain an AK/SK for authentication.
Request authentication is required for calling an API. After successful authentication, the authentication field is filled into the next method to request for message construction.
AK/SK authentication is used for calling APIs.
AK/SK authentication: Requests are encrypted using AK/SK pairs.
When you send requests to underlying services through API Gateway (APIG), the requests must be signed using access key ID (AK) and secret access key (SK).
- AK: access key ID, which is a unique identifier used with a secret access key to sign requests cryptographically.
- SK: secret access key. It is used together with an access key ID to identify a sender who initiates a request and to cryptographically sign requests, preventing the request from being modified.
- For details about how to obtain SDKs, see Calling APIs Through App Authentication.
- You can obtain an AK/SK on the Access Keys page.
- Construct a request.
- Initiate the request.
- Parse a response.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot