We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
/echo
POST
2 parents 3a907b2 + 5468450 commit f8f2b95Copy full SHA for f8f2b95
src/Servers/GenHttpServer/Program.cs
@@ -8,7 +8,7 @@
8
var port = (args.Length > 0 && ushort.TryParse(args[0], out var p)) ? p : (ushort)8080;
9
10
var app = Inline.Create()
11
- .Get("/echo", (IRequest request) => Echo(request))
+ .Post("/echo", (IRequest request) => Echo(request))
12
.Post((Stream body) => RequestContent(body))
13
.Any(() => StringContent());
14
0 commit comments