Updated on 2023-09-11 GMT+08:00

Debugging and Calling the API

APIG provides online debugging, enabling you to check an API after configuring it.

  1. Log in to the APIG console. In the navigation pane, choose API Management > APIs. Then click API_test, and click Debug.
  2. Add a header parameter and click Debug.

    • Parameter Name: Enter auth.
    • Parameter Value: Enter abc.
    Figure 1 Adding a header

  3. Check whether the API response contains the content you have defined in the service function. See Figure 2.

    Figure 2 API response