pynautobot icon indicating copy to clipboard operation
pynautobot copied to clipboard

Proxy feature

Open TitouanS31 opened this issue 8 months ago • 4 comments

It would be great to have a proxy option for api calls. We could hence do something like this.

proxies = {
    "http": "http://my_super_proxy.com:1234",
    "https": "https://my_super_proxy.com:1234",
}

nautobot = pynautobot.api(
    url = "https://demo.nautobot.com",
    token = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
    proxies = proxies
)

TitouanS31 avatar Jun 18 '24 10:06 TitouanS31