265 references to Post
Aspire.Dashboard.Tests (2)
CodeGenerator (1)
dotnet-svcutil-lib (1)
HttpStress (5)
Program.cs (5)
243using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri) { Version = httpVersion, Content = new StringDuplexContent(content) })
257using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri + "/duplex") { Version = httpVersion, Content = new StringDuplexContent(content) })
271using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri + "/duplexSlow") { Version = httpVersion, Content = new ByteAtATimeNoLengthContent(Encoding.ASCII.GetBytes(content)) })
285using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri) { Version = httpVersion, Content = new StringContent(content) })
302using (var req = new HttpRequestMessage(HttpMethod.Post, serverUri) { Version = httpVersion, Content = new StringContent(content) })
Interop.FunctionalTests (21)
Http3\Http3RequestTests.cs (12)
293var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
374var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
417var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
488var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
559var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
724var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
1013var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
1110var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
1257var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
1369var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
2033var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
2129var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.GetPort()}/");
HttpClientHttp2InteropTests.cs (9)
91using var request = CreateRequestMessage(HttpMethod.Post, url, new BulkContent());
185using var request = CreateRequestMessage(HttpMethod.Post, url, new BulkContent());
298var request = CreateRequestMessage(HttpMethod.Post, url, streamingContent);
375var request = CreateRequestMessage(HttpMethod.Post, url, streamingContent);
435var request = CreateRequestMessage(HttpMethod.Post, url, streamingContent);
734var request = CreateRequestMessage(HttpMethod.Post, url, streamingContent);
791var request = CreateRequestMessage(HttpMethod.Post, url, streamingContent);
843var request = CreateRequestMessage(HttpMethod.Post, url, streamingContent);
888var request = CreateRequestMessage(HttpMethod.Post, url, streamingContent);
Microsoft.AspNetCore.Authentication.OAuth (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (2)
Microsoft.AspNetCore.Authentication.Test (5)
Microsoft.AspNetCore.Authentication.Twitter (2)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (4)
Microsoft.AspNetCore.Http.Connections.Client (2)
Microsoft.AspNetCore.HttpOverrides.Tests (5)
Microsoft.AspNetCore.Mvc.FunctionalTests (102)
RazorPagesTest.cs (16)
101var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/HandlerTestPage");
133var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/HandlerTestPage/CustomActionResult");
214var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/ModelHandlerTestPage");
246var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/ModelHandlerTestPage/CustomActionResult");
416var postRequest = new HttpRequestMessage(HttpMethod.Post, "http://localhost/HelloWorldWithPageModelHandler");
580var request = new HttpRequestMessage(HttpMethod.Post, url);
671var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PagePropertyBinding/10")
700var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PagePropertyBinding/27")
726var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PageModelWithPropertyBinding/10?PropertyWithSupportGetsTrue=foo")
757var request = new HttpRequestMessage(HttpMethod.Post, url)
786var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PolymorphicBinding")
811var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PolymorphicBinding")
842var request = new HttpRequestMessage(HttpMethod.Post, "Pages/PropertyBinding/PageWithPropertyAndArgumentBinding?id=11")
983var request = new HttpRequestMessage(HttpMethod.Post, "/Pages/Redirects/RedirectToSelf")
1288var request = new HttpRequestMessage(HttpMethod.Post, "/Pages/PropertyBinding/BindPropertiesOnModel?Property1=123")
1326var request = new HttpRequestMessage(HttpMethod.Post, "/Pages/PropertyBinding/BindPropertiesOnModel?Property1=123")
XmlOutputFormatterTests.cs (10)
41HttpMethod.Post,
63HttpMethod.Post,
86HttpMethod.Post,
107HttpMethod.Post,
130HttpMethod.Post,
151HttpMethod.Post,
169HttpMethod.Post,
189HttpMethod.Post,
209HttpMethod.Post,
230HttpMethod.Post,
Microsoft.AspNetCore.Mvc.Testing (1)
Microsoft.AspNetCore.RequestDecompression.Tests (6)
Microsoft.AspNetCore.Routing.FunctionalTests (15)
MinimalFormTests.cs (13)
53var request = new HttpRequestMessage(HttpMethod.Post, "todo");
113var request = new HttpRequestMessage(HttpMethod.Post, "todo");
160var request = new HttpRequestMessage(HttpMethod.Post, "todo");
199var request = new HttpRequestMessage(HttpMethod.Post, "todo");
276var request = new HttpRequestMessage(HttpMethod.Post, "todo");
323var request = new HttpRequestMessage(HttpMethod.Post, "todo");
419var request = new HttpRequestMessage(HttpMethod.Post, "todo");
474var request = new HttpRequestMessage(HttpMethod.Post, "todo");
533var request = new HttpRequestMessage(HttpMethod.Post, "todo");
585var request = new HttpRequestMessage(HttpMethod.Post, "/todos/1");
637var request = new HttpRequestMessage(HttpMethod.Post, "/todos/1");
686var request = new HttpRequestMessage(HttpMethod.Post, "todo");
750var response = await client.SendAsync(new HttpRequestMessage(HttpMethod.Post, "/")
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
Microsoft.AspNetCore.Server.IISIntegration.Tests (3)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.AspNetCore.SignalR.Client.Tests (5)
Microsoft.AspNetCore.StaticAssets.Tests (1)
Microsoft.AspNetCore.StaticFiles.Tests (1)
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.TestHost.Tests (12)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.Deployment.Tasks.Links (1)
Microsoft.DotNet.Helix.Sdk (2)
Microsoft.DotNet.Internal.SymbolHelper (1)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (2)
Microsoft.Extensions.AI.Ollama (1)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (4)
Microsoft.Extensions.Http.Diagnostics.Tests (42)
Logging\HttpClientLoggerTest.cs (17)
173Method = HttpMethod.Post,
185Method = HttpMethod.Post,
269Method = HttpMethod.Post,
281Method = HttpMethod.Post,
374Method = HttpMethod.Post,
386Method = HttpMethod.Post,
470Method = HttpMethod.Post,
482Method = HttpMethod.Post,
585Method = HttpMethod.Post,
597Method = HttpMethod.Post,
689Method = HttpMethod.Post,
732Method = HttpMethod.Post,
770Method = HttpMethod.Post,
814Method = HttpMethod.Post,
848Method = HttpMethod.Post,
864Method = HttpMethod.Post,
959Method = HttpMethod.Post,
Logging\HttpRequestReaderTest.cs (16)
50Method = HttpMethod.Post,
82Method = HttpMethod.Post,
118Method = HttpMethod.Post,
145Method = HttpMethod.Post,
176Method = HttpMethod.Post,
208Method = HttpMethod.Post,
247Method = HttpMethod.Post,
283Method = HttpMethod.Post,
324Method = HttpMethod.Post,
355Method = HttpMethod.Post,
381Method = HttpMethod.Post,
413Method = HttpMethod.Post,
452Method = HttpMethod.Post,
484Method = HttpMethod.Post,
519Method = HttpMethod.Post,
551Method = HttpMethod.Post,
Microsoft.Extensions.Http.Resilience.PerformanceTests (4)
Stress.AppHost (1)
System.Net.Http (4)
System.ServiceModel.Http (1)