public async Task PutGood() { var message = Guid.NewGuid().ToString(); var request = new JObject { { "message", message } }; var response = await _api.PutAsync("Echo", request).ConfigureAwait(false); Assert.Equal($"[PUT] {message}", response); }
private async Task PutAsync() { var result = await _api.PutAsync("Echo", new JObject { { "message", "Three" } }); Console.WriteLine($"Put result - {result}"); }