This is a azure function api demo, used as a api source when designing bot by bot framework composer;
The api can be depolyed to azure function or running localy.The api support query parameter,like http://localhost:7071/api/GetWeatherByCityName?name=shanghai, the parameter only support beijing,shanghai,guangzhou,shenzhen,other wise you will get 404 http status code response.
Please follow the link to design a [get weather bot] by using azure bot framework composer. https://www.51azure.cloud/post/2020/11/3/using-azure-bot-framework-composer-design-a-get-weather-bot