I'm trying to run an API requests using python in two machines. In one machine, I only pass the URL (this URL has a "?" parameter) and works fine, with HTTPBasicAuth, POST.
In the other machine from another firm, same code, it gets ProxyConnectionError. I configure the proxy as 'http://username:password@proxyaddress:8080', it works with no errors, but the responde is 403 (unauthorized). In the other firm's Postman, however, I run the same code and it works (200; without specifying proxy).
Conclusion: I should change the code on the other machine differently.
Where can I find the problem? I tried the response headers and already checked for differences, but would the answer be there? Is it possible that the other firm's server is "erasing" something from my API, like the headers I put for the request, or the "?" parameter from the URL?
I was expecting the same result for both machines with the same codes.