Skip to content

Commit a4baa57

Browse files
authored
Merge pull request #13 from MDA2AV/MDA2AV-patch-2
Change GET response to 'OK' and add POST endpoint - Kestrel
2 parents e417161 + 5fb2497 commit a4baa57

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)