Replies: 1 comment
-
Hi @mrdulin looks like those proxy not working correctly see this vscode docs to set correctly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have started a local server with
http://localhost:3000
, I set thehttp_proxy
in VS Code. When I use Thunder client to send an HTTP POST request, got the error: 502 bad gateway. I guess it is caused by thehttp_proxy
configuration of VS Code.I found that the Thunder client has a "Exclude Proxy Host List" configuration, so I set the
localhost
hostname for it. The error is gone.So the does thunder client send the request through the HTTP proxy first? The request workflow is like this:
Thunder Client => HTTP Proxy => Target server(
http://localhost:3000
in my case)Beta Was this translation helpful? Give feedback.
All reactions