-
Re: Python3 connection to SonicOS API
Hi, Please give this a try and let me know if the response is any different: from collections import OrderedDict headers = OrderedDict([ ('Accept', 'application/json'), ('Content-Type', 'application/… (View Post)3 -
Re: Python3 connection to SonicOS API
In your class: class sonicapi: def __init__(self, hostname, port, username, password): self.baseurl = 'https://{0}:{1}/api/sonicos/'.format(hostname, str(port)) self.authinfo = (username, password) s… (View Post)7 -
A Python tool to check Capture ATP verdicts and upload file samples via Capture API
Hi everyone, Today I'm sharing a Python tool to bulk-check Capture ATP verdicts and upload file samples via Capture API. It supports threading, command line arguments for those who love typing, and c… (View Post)ReplyCategory:3