Help Center> Koo Command Line Interface> FAQs> Cloud Service APIs> How Can I Determine Whether a Command Is Successfully Executed from an Empty Response?
Updated on 2023-10-16 GMT+08:00

How Can I Determine Whether a Command Is Successfully Executed from an Empty Response?

Description

Calling APIs of some cloud services using KooCLI does not print any response. You cannot determine whether the calling is successful.

Solution

Add --debug to the original command to print the debugging information during command invocation. This line will be included: "API response status code is xxx." You can check the command invocation status based on the status code.

Cloud Service APIs FAQs

more