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