我有单个天蓝色功能应用程序。我想在 Azure APIM 中创建 2 个不同的 API 端点。我怎样才能做到这一点?
According to some test, it seems we can't implement the requirement by adding an operation in api management because it will show error message Operation with the same method and URL template already exists
.
如果我们使用其他一些方法,例如克隆操作,也会失败并出现 404 错误,因为URL
字段将发生变化并且无法匹配函数 url。
So I think you can just add another api in your api management to implement the requirement (shown like below screenshot).
两个 APIM 端点应该是:https://huryapim.azure-api.net/huryFun1/HttpTrigger1
and https://huryapim.azure-api.net/huryFun2/HttpTrigger1
。它们都在后端请求相同的 azure 函数 url。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)