Use Azure Api Management as a passthrough

后端 未结 2 968
难免孤独
难免孤独 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:42

    Adding to Darrel Miller's answer, here is how i got it working...

    Adding an operation...

    {
      "name": "Search_GET",
      "method": "GET",
      "urlTemplate": "/search/*",
      "policies": null
    }       
    

    Adding a policy for that operation...

    
        
            
            
            
            
                1.0
            
        
        
            
        
    
    

提交回复
热议问题