Example #1
0
        private HttpContent CreateHttpContent <T>(T content)
        {
            var json = ConvertJson.Serialize(content);

            return(new StringContent(json, Encoding.UTF8, "application/json"));
        }