Updated on 2026-11-16 GMT+08:00

Obtaining SDK Sample Code

Huawei Cloud allows you to obtain the SDK sample code of an API in the following ways to simplify SDK usage and improve development efficiency.

Obtaining SDK Sample Code Through API Explorer

  1. On the API Explorer page of SFS Turbo, select the API for which you want to generate the SDK sample code.
  2. On the parameter configuration page in the middle, configure the parameters required for calling the API. For details about parameter settings, click the Documentation tab on the right.
  3. On the right of the page, click the Sample Code tab to view and obtain the SDK sample code in the corresponding programming language, as shown in Figure 1.
    Figure 1 Obtaining sample code through API Explorer