1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
InputFormatterTests.cs (1)
25
Client
= Factory.CreateDefaultClient();
18 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (18)
InputFormatterTests.cs (18)
48
var response = await
Client
.PostAsync("http://localhost/Home/Index", content);
64
var response = await
Client
.PostAsync("http://localhost/InputFormatter/ReturnInput/", content);
81
var response = await
Client
.PostAsync("http://localhost/InputFormatter/ReturnInput/", content);
91
var response = await
Client
.GetAsync("PolymorphicBinding/ModelBound?DerivedProperty=Test");
103
var response = await
Client
.GetAsync("PolymorphicBinding/ModelBound");
123
var response = await
Client
.PostAsJsonAsync("PolymorphicBinding/InputFormatted", input);
135
var response = await
Client
.PostAsJsonAsync("PolymorphicBinding/InputFormatted", string.Empty);
155
var response = await
Client
.PostAsJsonAsync("PolymorphicPropertyBinding/Action", input);
167
var response = await
Client
.PostAsJsonAsync("PolymorphicPropertyBinding/Action", string.Empty);
186
var response = await
Client
.PostAsJsonAsync<object>($"Home/{nameof(HomeController.DefaultBody)}", value: null);
204
var response = await
Client
.PostAsJsonAsync<object>($"Home/{nameof(HomeController.NonNullableBody)}", value: null);
231
var response = await
Client
.PostAsync($"Home/{nameof(HomeController.DefaultBody)}", content);
241
var response = await
Client
.PostAsJsonAsync<object>($"Home/{nameof(HomeController.OptionalBody)}", value: null);
251
var response = await
Client
.PostAsJsonAsync<object>($"Home/{nameof(HomeController.DefaultValueBody)}", value: null);
261
var response = await
Client
.PostAsJsonAsync<object>($"Home/{nameof(HomeController.NullableBody)}", value: null);
276
var response = await
Client
.PostAsync($"Home/{nameof(HomeController.OptionalBody)}", content);
291
var response = await
Client
.PostAsync($"Home/{nameof(HomeController.DefaultValueBody)}", content);
306
var response = await
Client
.PostAsync($"Home/{nameof(HomeController.NullableBody)}", content);