diff --git a/src/Servers/GenHttpServer/Program.cs b/src/Servers/GenHttpServer/Program.cs index d4356d9..aafd975 100644 --- a/src/Servers/GenHttpServer/Program.cs +++ b/src/Servers/GenHttpServer/Program.cs @@ -8,7 +8,7 @@ var port = (args.Length > 0 && ushort.TryParse(args[0], out var p)) ? p : (ushort)8080; var app = Inline.Create() - .Get("/echo", (IRequest request) => Echo(request)) + .Post("/echo", (IRequest request) => Echo(request)) .Post((Stream body) => RequestContent(body)) .Any(() => StringContent());