Skip to content

Commit 5fb2497

Browse files
authored
Change GET response to 'OK' and add POST endpoint - Kestrel
1 parent e417161 commit 5fb2497

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/Servers/AspNetMinimal/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
var app = builder.Build();
66

7-
app.MapGet("/", () => "Hello from ASP.NET Minimal API");
7+
app.MapGet("/", () => "OK");
8+
9+
app.MapPost("/", () => "OK");
810

911
app.Run();

0 commit comments

Comments
 (0)