Have webapi odata v3 endpoint implemented with Microsoft.AspNet.WebApi.OData, exposed under API management, how do I change the service root path, instead of returning the azurewebsite one return the api management URL.
Asked
Active
Viewed 271 times
1 Answers
0
Try using the <redirect-content-urls/>
policy in an outbound policy to update the URLs. If that doesn't work as you need, you can use the <find-and-replace/>
policy. https://learn.microsoft.com/en-us/azure/api-management/api-management-transformation-policies#MaskURLSContent

Darrel Miller
- 139,164
- 32
- 194
- 243
-
Loved it! So easy to fix! – TOMMY WANG Aug 11 '17 at 18:51