I have been working with curl request (from bash)
/usr/bin/curl -L -k -u admin:admin -X GET 'https://localhost/test/123/123'
How can I translate this request to the pycurl code, and implement it through python, options are important as it is REST API.
The options that I used in curl are
-k for insecure(ssl bypass)
-L redirect
-X request GET
Thanks,