How to remove /api from Azure Functions URLs

Note: All of the following assumes you’re working with Azure Functions 2.0. Azure Functions are great. By default, all HTTP functions on Azure have their URLs prefixed with /api. For example, if you have functions named Function1 and Function2, you’d reach them by calling http://my-app.azurewebsites.net/api/Function1 and http://my-app.azurewebsites.net/api/Function2. Usually, this is fine. But it seems like…