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