public static async Task PostAsync(this Uri uri, object value)
{
var content = new ObjectContext(value.GetType(), value, new JsonMediaTypeFormatter());
using (var client = new HttpClient())
{
return await client.PostAsync(uri, content);
}
}
. . .
var uri = new ...