Help Center/ API Gateway/ FAQs/ Publishing an API/ Can I Specify an Environment for API Debugging?
Updated on 2025-01-10 GMT+08:00

Can I Specify an Environment for API Debugging?

During API debugging, the specific debugging environment of APIG is used by default. Therefore, you cannot specify other environments.

After debugging is completed, you need to publish your API in an environment, and use code or Postman to add the X-Stage header to specify the environment where you want to call the API.