1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
JsonInputFormatterTestBase.cs (1)
19
Client
= factory.CreateDefaultClient();
13 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (13)
JsonInputFormatterTestBase.cs (10)
38
var response = await
Client
.PostAsync("http://localhost/Home/Index", content);
57
var response = await
Client
.PostAsync("http://localhost/JsonFormatter/ReturnInput/", content);
75
var response = await
Client
.PostAsync("http://localhost/JsonFormatter/ValueTypeAsBody/", content);
91
var response = await
Client
.PostAsync("http://localhost/JsonFormatter/ValueTypeAsBody/", content);
111
var response = await
Client
.PostAsJsonAsync("http://localhost/JsonFormatter/RoundtripSimpleModel/", expected);
128
var response = await
Client
.PostAsJsonAsync("http://localhost/JsonFormatter/RoundtripRecordType/", expected);
145
var response = await
Client
.PostAsJsonAsync($"JsonFormatter/{nameof(JsonFormatterController.RoundtripModelWithValidation)}", expected);
176
var response = await
Client
.PostAsJsonAsync($"JsonFormatter/{nameof(JsonFormatterController.RoundtripModelWithValidation)}", expected);
195
var response = await
Client
.PostAsync("http://localhost/JsonFormatter/ReturnInput/", content);
216
var response = await
Client
.SendAsync(request);
NewtonsoftJsonInputFormatterTest.cs (3)
24
var response = await
Client
.PostAsync("http://localhost/JsonFormatter/ReturnInput/", content);
43
var response = await
Client
.PostAsync("http://localhost/JsonFormatter/ReturnNonNullableInput/", content);
60
var response = await
Client
.PostAsync("http://localhost/JsonFormatter/ReturnInput/", content);