0

I got this command from a networking tutorial and I am hoping that I can use python to automate it more easily later. The command is curl -sk -u admin:admin1 GET https://192.168.1.31/mgmt/tm/ltm/virtual.

What would be the exact equivalent of python command of the curl above?

Dean Christian Armada
  • 5,837
  • 7
  • 55
  • 103

1 Answers1

0

You can use the requests module for most of the commands as it is one of the most common web scraping module.

You can refer to official documentary over here: Link

And use this link to convert your curl into python, although it wont be accurate every time, but it will help you with initial cases.

Divyessh
  • 1,774
  • 1
  • 3
  • 21