Help Center> API Gateway> User Guide (ME-Abu Dhabi Region)> FAQs> API Publishing> Why Can't APIs Published in a Non-RELEASE Environment Be Accessed?
Updated on 2023-05-09 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")