Is there a way to map empty string as route to an Azure Function. Like lets say when I hit the https://example.org/api (empty string), the function will be hit. I have tried like below, but it did not work.
[FunctionName("Default")]
public static async Task<IActionResult> Run(
[HttpTrigger(AuthorizationLevel.Function, "get", "post", Route = "")] HttpRequest req,
ILogger log)
{
...
}