Relative Content

Tag Archive for c#azure-functions

Call azure http function but don’t wait for it’s response

using (var httpClient = new HttpClient()) { MultipartFormDataContent formData = new MultipartFormDataContent { { new StreamContent(file.OpenReadStream()), “file”, file.FileName } }; _ = httpClient.PostAsync(“azure http function url here”, formData); } This is the code I’m working on, it is not waiting for the response to complete now. But the problem is, the request never arrives at […]