Help Center/ API Gateway/ Dedicated API Gateway User Guide (Paris Region)/ FAQs/ API Publishing/ Can I Access an API Published in a Non-RELEASE Environment?
Updated on 2023-12-20 GMT+08:00

Can I Access an API Published in a Non-RELEASE Environment?

Yes. To access an API published in a non-RELEASE environment, add the x-stage header to the API request.

Example:

r.Header.Add("x-stage", "RELEASE")

For details, see the example in API Gateway User Guide > "Getting Started" > "Calling an API".