I’m using the serverless framework to deploy to AWS. So far I only had a dev stage. Is it possible to get the same base url randomly generated by AWS but for prod? I.e. it should end with/prod
and then support all the endpoints defined in my yaml file. I was able to create different APIs within Gateway but that is not what I want. Many thanks for your help
If you add another stage (= /prod) in your current API you will have the same base URL (but different URI’s of course).
I don’t fully understand your question so if you want the opposite (different base URL’s) then you just create a second API which will get its own Stage that will have a separate base URL.