public async Task PutAsJson_WithRequest() { var client = new HttpClientInstance("https://postman-echo.com/put"); var request = BuildRequest(); await client.PutAsync(request).ConfigureAwait(false); }
public async Task PutAsJson_WithResponse() { var client = new HttpClientInstance("https://postman-echo.com/put"); var request = BuildRequest(); var response = await client.PutAsync <Response>().ConfigureAwait(false); response.Url.Should().Be("https://postman-echo.com/put"); }