Пример #1
0
        private static StringContent CreateContent(object value)
        {
            string content = JsonDataSerializer.ToString(value);

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