I am trying to create a tool to call an API, use a specific field from the response and then call one more API using that field as a parameter. E.g. I call my organization's open API for get products https://openbank.api.nab.com.au/cds-au/v1/banking/products to get list of products and for each productId, and then call get product detail https://openbank.api.nab.com.au/cds-au/v1/banking/products/{productId}. I need to run some analytics on the output of each product (product detail) and this needs to be done daily. My Organization has strict network controls and to call this API from Postman or Python, I need to provide my credentials for Proxy authentication. But I should not be providing ID Password in a program/script since it is a bad practice. While I was trying multiple options, below curl command works and gets me the response and here I need not pass any user credentials, curl -X GET "https://openbank.api.nab.com.au/cds-au/v1/banking/products" -H "x-v: 3" I don't understand why curl works without credentials but Postman and Python don't. Then I tried executing the curl command in my Python program hoping to pass through the proxy check but it didn't work. I get cURL Error 6: Could not resolve host. What is the best way for given use-case and how should I use Curl command so that I achieve this without passing the credentials? Continue reading...