How can i omit stage name in API endpoint url for Amazon API Gateway.
For example instead of api.domain.com/stagename/resource/ I would like to have api.domain.com/resource.
You cannot change stage from API URL, which is the implementation of API gateway but you can give the custom domain to your API URL if you want.
If you are using custom domain name then stage is optional - http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html#how-to-custom-domains-console
or with CloudFormation template - http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmapping.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With