[BUG]: Only works (for me) in Powershell #1222
-
DescriptionInstalled via winget. updated devproxyrc.json with Expected behaviourI'd expext request using curl from the command prompt to go through devproxy and an error returned. I'd expect the same for httpClient requests from inside my .NET app. Actual behaviourWindows Terminal Powershell Windows Terminal Command Prompt .NET App Steps to reproduceI've followed the docs at https://learn.microsoft.com/en-gb/microsoft-cloud/dev/dev-proxy/overview I guess it's my machine but I can't see how? Not sure how to investigate the issue further. All suggestions welcome Dev Proxy Version0.19.1 Operating system (environment)Windows Shellcmd Configuration fileIt's the default, except with "rate": 100, Additional InfoNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
If I'm not mistaken, curl doesn't automatically pick up Windows proxy settings. So instead, you need to either configure proxy using the environment variable |
Beta Was this translation helpful? Give feedback.
If I'm not mistaken, curl doesn't automatically pick up Windows proxy settings. So instead, you need to either configure proxy using the environment variable
http_proxy
or specify proxy in curl likecurl -ix http://127.0.0.1:8000 https://jsonplaceholder.typicode.com/posts