From 6324330336fc2a8ccee2af19f160b2c3f4408ee8 Mon Sep 17 00:00:00 2001 From: Jan Eike Suchard Date: Wed, 10 Apr 2024 11:12:15 +0200 Subject: [PATCH] [fix] changing call method --- usage-forecasts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usage-forecasts.go b/usage-forecasts.go index 20d3e9b..39baafe 100644 --- a/usage-forecasts.go +++ b/usage-forecasts.go @@ -36,7 +36,7 @@ func main() { router.Use(wisdomMiddleware.Authorization(globals.ServiceName)) // now mount the admin router router.HandleFunc("/", routes.InformationRoute) - router.Post("/{algorithm-name}", routes.PredefinedForecast) + router.HandleFunc("/{algorithm-name}", routes.PredefinedForecast) // now boot up the service // Configure the HTTP server