1 write to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
AntiforgeryAuthTests.cs (1)
19
Client
= Factory.CreateDefaultClient();
4 references to Client
Microsoft.AspNetCore.Mvc.FunctionalTests (4)
AntiforgeryAuthTests.cs (4)
35
var response = await
Client
.PostAsync("http://localhost/Home/AutoAntiforgery", null);
46
var response = await
Client
.GetAsync("http://localhost/Home/Antiforgery");
58
var response = await
Client
.PostAsync("http://localhost/Antiforgery/Index", content: null);
68
var response = await
Client
.PostAsync("http://localhost/IgnoreAntiforgery/Index", content: null);