diff --git a/server/websocket/internal/handler/routes.go b/server/websocket/internal/handler/routes.go index 99277e25..5e29f9bb 100644 --- a/server/websocket/internal/handler/routes.go +++ b/server/websocket/internal/handler/routes.go @@ -33,7 +33,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { Handler: CloseWebsocketHandler(serverCtx), }, { - Method: http.MethodPost, + Method: http.MethodGet, Path: "/api/websocket/get_stat", Handler: GetStatHandler(serverCtx), },