Beispiel #1
0
        static void Main(string[] args)
        {
            var myHttpClient = new CustomHttpClient();

            var x = myHttpClient.GetItem <Object>("http://localhost:49597/Setting").Result;

            myHttpClient.PostItem(
                new Object(),
                "http://localhost:49597/Setting").Wait();

            Console.WriteLine(x);
            Console.Read();
        }