Use Azure Api Management as a passthrough

后端 未结 2 946
难免孤独
难免孤独 2021-01-05 06:08

I would like to create a policy in Azure API Management that forwards all calls that start with the path \"proxy/search\" to another url. However, i don\'t want to have to i

2条回答
  •  悲&欢浪女
    2021-01-05 06:39

    You are making your life much harder than it needs to be. Simply create an operation that uses /proxy/* as the template and it will match to all the URLs you identified.

    Then just create a policy for that operation that does set-backend-service.

提交回复
热议问题