Esempio n. 1
0
        public async Task PatchGood()
        {
            var message = Guid.NewGuid().ToString();
            var request = new JObject {
                { "message", message }
            };
            var response = await _api.PatchAsync("Echo", request).ConfigureAwait(false);

            Assert.Equal($"[PATCH] {message}", response);
        }
Esempio n. 2
0
        private async Task PatchAsync()
        {
            var result = await _api.PatchAsync("Echo", new JObject { { "message", "Four" } });

            Console.WriteLine($"Patch result - {result}");
        }