I am using Azure Functions and I want to create a Function that should react to multiple routes. For example "/path1/{param1}" and "/path2/xxx/{param2}" or something like this.
Does anybody know how can I implement this?
You should use Function Proxies for that.
Azure Functions only allow you to map a single route to a function. However the route can contain a regex. It would give you a little flexibility. You can find more information on it here.
Easier and more flexible way to do it would through be Function Proxies.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With