Use an SDK to call the API Gateway API
Make sure that the API you want to call is the API of the Alibaba Cloud service by the name of API Gateway.
Go to SDK Center. In the left-side navigation pane, click Developer Tools. In the Development & Operation section, click API Gateway.
Click the tab that corresponds to the programming language that you prefer, and follow the on-screen instructions to download an SDK.
For more information about how to use the SDK, see the description in other sections on the tab.
Use an SDK to call an API in API Gateway
Make sure that the API you want to call is an API that is purchased from Alibaba Cloud Marketplace or created in API Gateway by you or your partner.
Obtain an SDK in the API Gateway console. If the API is created by you, choose Open API > SDKs in the left-side navigation pane and follow the on-screen instructions to proceed. Link: SDK. If the API is not created by you, choose Call API > Authorized API SDK in the left-side navigation pane and follow the on-screen instructions to proceed. Link: Authorized APIs. Alternatively, choose Call API > Apps in the left-side navigation pane. On the App Details page, follow the on-screen instructions to generate an SDK.
The instructions on how to use the SDK are included in the SDK download package.
For more information about how to configure the ClientReadTimeout parameter in the SDK, see Configure timeout periods for TCP connections.