def get_flat_params(path, query = {})
      conn = mk_conn(path,
                     {},
                     request: {
                       params_encoder: Faraday::FlatParamsEncoder
                     },
                     params:  query)

      make_call(conn, :get)
    end
def get_flat_params(path, query = {})
      conn = mk_conn(path,
                     {},
                     request: {
                       params_encoder: Faraday::FlatParamsEncoder
                     },
                     params:  query)

      make_call(conn, :get)
    end
Had to introduce this for the Wavefront::Dashboard#acls
 method, which uses a query string of multiple id=s. By default
 Faraday only uses the last one. You must set the
 `params_encoder`. Rather than convolute the existing logic, it
 was cleaner to add this method. Parameters are same as #get.