From a5301da6b9fd6d07aa41b3226d25b84a93111e04 Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Mon, 13 Feb 2023 15:43:38 +0000 Subject: [PATCH] add sample URL for add sample api endpoint --- WeatherDashboard.Web/Services/WeatherApiForecastService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WeatherDashboard.Web/Services/WeatherApiForecastService.cs b/WeatherDashboard.Web/Services/WeatherApiForecastService.cs index 955101c..51f768a 100644 --- a/WeatherDashboard.Web/Services/WeatherApiForecastService.cs +++ b/WeatherDashboard.Web/Services/WeatherApiForecastService.cs @@ -23,6 +23,8 @@ namespace WeatherDashboard.Web.Services private async Task InvokeRequestAsync(string method) { + // sample URL + // https://api.weatherapi.com/v1/forecast.json?key=829fbbe5beb2424aa1021928230702&q=21144&days=2&aqi=no&alerts=yes var url = new UriBuilder(apiBaseUrl); url.Path = method;