1

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.

TOMMY WANG
  • 1,382
  • 3
  • 16
  • 39

1 Answers1

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