Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

Help Center/ Koo Command Line Interface/ User Guide/ Obtaining CLI Examples on API Explorer

Obtaining CLI Examples on API Explorer

Updated on 2023-02-27 GMT+08:00

API Explorer supports online API debugging and generates KooCLI examples for cloud service APIs. After configuring the parameters of an API on API Explorer, you can copy and use the relevant CLI Example.

The following figure shows the CDN API for creating an acceleration domain name on API Explorer. After you set the request parameters, the CLI example will be updated accordingly. You can save the command with the set request parameters. Later, you can directly invoke this command in KooCLI or integrate it into a script.

Figure 1 Obtaining a CLI example on API Explorer
NOTE:
  • On the API Explorer console, only the parameters with values specified are displayed in the CLI example.
  • A CLI example carries information such as a project ID and region. To use the example in another project or region, replace the project ID and region with the corresponding values.
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback