public async Task PostGood() { var message = Guid.NewGuid().ToString(); var request = new JObject { { "message", message } }; var response = await _api.PostAsync("Echo", request).ConfigureAwait(false); Assert.Equal($"[POST] {message}", response); }
private async Task PostAsync() { var result = await _api.PostAsync("Echo", new JObject { { "message", "Two" } }); Console.WriteLine($"Post result - {result}"); }