Help Center/ API Gateway/ FAQs/ Publishing an API/ Can I Access an API Published in a Non-RELEASE Environment?
Updated on 2024-12-04 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")

You can also refer to Quickly Opening and Calling APIs.