Skip to content

Instantly share code, notes, and snippets.


Thomas Hansen polterguy

View GitHub Profile
polterguy / HttpClient.cs
Created May 10, 2019
A C# class to easily invoke HTTP REST invocations with one line of code
View HttpClient.cs
* Usage ...
* var foo = new SomeType { /*.Decorate instance here ... */ };
* var result = await Client.PostAsync<SomeType>("", foo);
using System;
using System.Net.Http;
using System.Threading.Tasks;
You can’t perform that action at this time.