1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
JsonInputFormatterTestBase.cs (1)
27Client = Factory.CreateDefaultClient();
13 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (13)
JsonInputFormatterTestBase.cs (10)
50var response = await Client.PostAsync("http://localhost/Home/Index", content); 69var response = await Client.PostAsync("http://localhost/JsonFormatter/ReturnInput/", content); 87var response = await Client.PostAsync("http://localhost/JsonFormatter/ValueTypeAsBody/", content); 103var response = await Client.PostAsync("http://localhost/JsonFormatter/ValueTypeAsBody/", content); 123var response = await Client.PostAsJsonAsync("http://localhost/JsonFormatter/RoundtripSimpleModel/", expected); 140var response = await Client.PostAsJsonAsync("http://localhost/JsonFormatter/RoundtripRecordType/", expected); 157var response = await Client.PostAsJsonAsync($"JsonFormatter/{nameof(JsonFormatterController.RoundtripModelWithValidation)}", expected); 188var response = await Client.PostAsJsonAsync($"JsonFormatter/{nameof(JsonFormatterController.RoundtripModelWithValidation)}", expected); 207var response = await Client.PostAsync("http://localhost/JsonFormatter/ReturnInput/", content); 228var response = await Client.SendAsync(request);
NewtonsoftJsonInputFormatterTest.cs (3)
19var response = await Client.PostAsync("http://localhost/JsonFormatter/ReturnInput/", content); 38var response = await Client.PostAsync("http://localhost/JsonFormatter/ReturnNonNullableInput/", content); 55var response = await Client.PostAsync("http://localhost/JsonFormatter/ReturnInput/", content);