I have setup an Azure API Management Service and its configured on a custom domain. Under the API Management Service's Configure Section in the Azure Portal, I have set the following:
Because this is a client system, I have to block out the details but here are the basics:
Because I have the Type Set to Custom, I am required to enter both the API ENDPOINT and the DEV PORTAL.
When I go into the Publish Portal and setup the API I get this:
I need to be able to run a single Developer Portal but have 2 different API Servers (1-Sandbox, 2-Production) yet they will have different sub-domains (api-sandbox.example.com & api.example.com)
Is this possible? Why is the API Settings overriding the Web Service URL/URL Suffix with what I put int the API Management Configure?
Web service URL property is used to specify the backend URL for a specific API. That URL is considered private and should be used by the API Management gateway component only for forwarding requests sent to the public URL you defined for your tenant. So, the behavior you are observing is by design. You should manifest your two backends as two distinct APIs in API Management.
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