Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Azure Logic App - koszty
using System;
using System.Threading.Tasks;
using System.Net.Http;
private static HttpClient httpClient = new HttpClient();
public static void Run(TimerInfo myTimer, ILogger log, out string outputBlob)
{
var response = httpClient.GetAsync("http://api.openweathermap.org/data/2.5/weather?q=olsztyn,pl&APPID=4e61d7e7f40f9c3205722f24ebd3c2ac").Result;
outputBlob = response.Content.ReadAsStringAsync().Result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.