3 references to MapPost
Microsoft.AspNetCore.Routing.Tests (3)
RequestDelegateRouteBuilderExtensionsTest.cs (3)
30
{ b => { b.
MapPost
("api/{id}", NullHandler); }, c => { c.Request.Method = "POST"; } },
82
{ b => { b.
MapPost
("api/{id}", NullHandler); }, c => { c.Request.Method = "MEH"; } },
84
{ b => { b.
MapPost
("api/{id}/extra", NullHandler); }, c => { c.Request.Method = "POST"; } },