1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
ApiBehaviorTest.cs (1)
27Client = Factory.CreateDefaultClient();
15 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (15)
ApiBehaviorTest.cs (15)
58var response = await Client.PostAsJsonAsync("/contact", contactModel); 109var response = await Client.SendAsync(requestMessage); 125var response = await Client.SendAsync(requestMessage); 153var response = await Client.PostAsJsonAsync($"/contact/{action}", input); 174var response = await Client.PostAsJsonAsync($"/contact/ActionWithCompositeComplexTypeParameter/{requestId}", input); 190var response = await Client.GetAsync(url); 207var response = await Client.PostAsync(url, new StringContent(string.Empty)); 227var response = await Client.GetAsync(url); 248var response = await Client.GetAsync(url); 266var response = await Client.GetAsync("/contact/ActionWithInferredModelBinderType?foo=Hello!"); 281var response = await Client.GetAsync("/contact/ActionWithInferredModelBinderTypeWithExplicitModelName?bar=Hello!"); 295var response = await Client.GetAsync("/contact/ActionReturningStatusCodeResult"); 324var response = await Client.GetAsync("/contact/ActionReturningStatusCodeResult"); 342var response = await Client.GetAsync("/contact/ActionReturningProblemDetails"); 355var response = await Client.GetAsync("/contact/ActionReturningValidationProblemDetails");