title: How to translate cURL command to Python request
body: <p>I can't figure this out for the life of me.</p>
  <p><code>curl Command: curl --proxy-negotiate -u : &lt;API_PATH&gt; -H &quot;Authorization: Bearer &lt;token&gt; &quot; -H &quot;Accept: application/scim+json&quot;</code></p>
  <p>This command works, but only after I run this command: set HTTPS_PROXY &lt;corporate_Proxy_Path&gt; , or
  it if I do this by editing env variables in windows settings.</p>
  <p>in Python, I am doing this as the equivalent.</p>
  <pre><code>endpoint = &lt;API_PATH&gt;
  headers = {&quot;Authorization&quot;: B&quot;earer &lt;token&gt; &quot;, &quot;Accept&quot;: &quot;application/scim+json&quot;
  
  print(requests.get(endpoint, headers)```
  
  
  I keep getting this proxy error: Caused by ProxyError('Cannot connect to proxy.', OSERROR('Tunnel connections failed: 407 Proxy Authentication required.&quot;
  
  
  </code></pre>