add sample URL for

This commit is contained in:
Ryan Peters 2023-02-13 15:43:38 +00:00
parent 3d0a0bd7cd
commit d34468230a

View File

@ -23,6 +23,8 @@ namespace WeatherDashboard.Web.Services
private async Task<T> InvokeRequestAsync<T>(string method) private async Task<T> InvokeRequestAsync<T>(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); var url = new UriBuilder(apiBaseUrl);
url.Path = method; url.Path = method;