diff --git a/client/client.go b/client/client.go index 9386810..8a86d4f 100644 --- a/client/client.go +++ b/client/client.go @@ -45,6 +45,7 @@ func (c *Client) SendRequest(method string, path string, payload interface{}, st if c.insecure == true { tr := &http.Transport{ + Proxy: http.ProxyFromEnvironment, TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } client = &http.Client{Transport: tr}