admin管理员组文章数量:1313598
I have a requirement to have different APIs in single API Management service which are dependent on incoming HTTP host. Example
*pany -> API 1
*.anothercompany -> API 2
Something very similar how Application Gateways handles this situation where you can have listener for each custom hostname and route it based on which listener received incoming request. I can see that API management service can responds to multiple custom domains but I don't see any option to tie incoming request to specific API
I have a requirement to have different APIs in single API Management service which are dependent on incoming HTTP host. Example
*pany -> API 1
*.anothercompany -> API 2
Something very similar how Application Gateways handles this situation where you can have listener for each custom hostname and route it based on which listener received incoming request. I can see that API management service can responds to multiple custom domains but I don't see any option to tie incoming request to specific API
Share Improve this question asked Jan 31 at 0:10 Gregory SuvalianGregory Suvalian 3,8428 gold badges45 silver badges78 bronze badges1 Answer
Reset to default 0Not directly possible at the moment. If you have any network appliance in front of APIM you could consider doing URL rewrite at that level. Otherwise, one workaround is to use send-request policy to invoke an operation on APIM itself via 127.0.0.1 localhost IP: https://learn.microsoft/en-us/azure/api-management/send-request-policy#usage-notes
版权声明:本文标题:azure api management - Is it possible to bound API based on on incoming hostheader of request - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741931194a2405583.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论