diff --git a/source/csgs/http.d b/source/csgs/http.d index be070b2..2ca997b 100644 --- a/source/csgs/http.d +++ b/source/csgs/http.d @@ -15,7 +15,7 @@ void startServer() { config.port = 8100; PathDelegatingHandler handler = new PathDelegatingHandler(); - handler.addMapping(Method.GET, "/extracts", &handleExtract); + handler.addMapping(Method.POST, "/extracts", &handleExtract); handler.addMapping(Method.GET, "/extracts/{extractId}", &getExtract); handler.addMapping(Method.POST, "/item-reports", &handleItemReport); handler.addMapping(Method.GET, "/item-reports", &getItemReports);