Fork me on GitHub
#clj-http
<
2022-05-13
>
zackteo15:05:13

Hello, does anyone know if it is possible to connect to private proxies with clj-http? https://github.com/dakrone/clj-http/issues/616

cavan07:06:16

@UUSQHP535 One year old, so probably not relevant anymore, but for whoever that needs it Its

(clj-http/get url {:proxy-host  proxy-host
                   :proxy-port  proxy-port
                   :proxy-user  proxy-user
                   :proxy-pass  proxy-pass})
Based on your example, it translates to
(clj-http/get url {:proxy-host  ""
                   :proxy-port  8080
                   :proxy-user  "dshowerhandle"
                   :proxy-pass  "SuperSecretPassword"})