Skip to content

Commit f8f2b95

Browse files
[genhttp] Set /echo method to be POST
2 parents 3a907b2 + 5468450 commit f8f2b95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servers/GenHttpServer/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
var port = (args.Length > 0 && ushort.TryParse(args[0], out var p)) ? p : (ushort)8080;
99

1010
var app = Inline.Create()
11-
.Get("/echo", (IRequest request) => Echo(request))
11+
.Post("/echo", (IRequest request) => Echo(request))
1212
.Post((Stream body) => RequestContent(body))
1313
.Any(() => StringContent());
1414

0 commit comments

Comments
 (0)