add sample URL for
This commit is contained in:
parent
3d0a0bd7cd
commit
d34468230a
@ -23,6 +23,8 @@ namespace WeatherDashboard.Web.Services
|
||||
|
||||
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);
|
||||
|
||||
url.Path = method;
|
||||
|
Loading…
x
Reference in New Issue
Block a user