From 2af296f93d1fabec766f0313c0a6aa5cbf4e95f9 Mon Sep 17 00:00:00 2001 From: Pavel Zavora Date: Thu, 18 Aug 2022 12:38:38 +0200 Subject: [PATCH] feat(server): allow to execute HTTP get through v2 proxy --- server/mux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/mux.go b/server/mux.go index 287c5d2eb..e1c0097e9 100644 --- a/server/mux.go +++ b/server/mux.go @@ -204,6 +204,7 @@ func NewMux(opts MuxOpts, service Service) http.Handler { // Source Proxy to Influx's flux endpoint; compression because the responses from // flux could be large. router.Handler("POST", "/chronograf/v1/sources/:id/proxy/flux", EnsureReader(service.ProxyFlux)) + router.Handler("GET", "/chronograf/v1/sources/:id/proxy/flux", EnsureReader(service.ProxyFlux)) // Write proxies line protocol write requests to InfluxDB router.POST("/chronograf/v1/sources/:id/write", EnsureViewer(service.Write))