I’m attempting to send a GET request using Node.js Axios with a proxy. I’ve encountered a redirect loop where the request redirects repeatedly to the same URL. I’ve confirmed that the proxy settings are correct.
When i tried the get-request on my home setup without a proxy it worked fine.
Interestingly, when I attempt the GET request using the curl command in the command line or with a PowerShell script also behind the proxy, I receive the expected data without any issues.
Any ideas how to fix this?
stuttgartchamp is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.