How to ignore vscode's proxy configuration when I make a request to my own backend service? #2394
Unanswered
Anthonywck
asked this question in
Extension Development QnA
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am developing a plug-in that has network interaction with the backend service, but when I interact with the backend, my request is affected by vscode's proxy configuration, which prevents the request from being successful.
I tried using axios and http.request, as well as EventSource, to establish a long conversation connection for stream chat. After finding the problem, I also tried to disable the agent in the Options Settings of the request, and customized the agent of the request, but it did not take effect.
How can I ignore the proxy?Thank you for your attentio!
And here is my Code snippet:
axios demo
http.request
eventsource demo
Beta Was this translation helpful? Give feedback.
All reactions