Help Center/ API Gateway/ FAQs/ API Publishing/ Why Can't APIs Published in a Non-RELEASE Environment Be Accessed?
Updated on 2022-08-29 GMT+08:00

Why Can't APIs Published in a Non-RELEASE Environment Be Accessed?

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

Example:

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