Proxy Auth #1125
-
I have a proxy that needs authentication in the form of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
A little bit more info is that I can use |
Beta Was this translation helpful? Give feedback.
-
Hi @DarksideVT - Thank you for the question! Requests handles proxy authorization formatting a little strangely. Did some digging, and this appears to work for me in my testing environment. Give this syntax a shot and let us know. import logging
from falconpy import Hosts
logging.basicConfig(level=logging.DEBUG)
proxies = {
"https": "https://PROXYUSER:PROXYPASSWORD@PROXYHOST:PROXYPORT"
}
hosts = Hosts(debug=True, proxy=proxies)
hosts.query_devices_by_filter_scroll()
|
Beta Was this translation helpful? Give feedback.
Hi @DarksideVT -
Thank you for the question!
Requests handles proxy authorization formatting a little strangely. Did some digging, and this appears to work for me in my testing environment. Give this syntax a shot and let us know.