You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unsure about how to use a proxy with fetch. I've found very little documentation about how to integrate a proxy and I seek to use separate proxies for any fetch request with username and password authentication if applicable.
Solution
As for a good solution I'd hope for a code example to perform a simple get request to a site (e.g. to ifconfig.me) using a proxy and instructions on how to include a username and password with that proxy.
The text was updated successfully, but these errors were encountered:
Possible with #1411, but if you are using fetch from node directly, you may need to wait for nodejs/node#43187 (if a decision to expose it is ever made).
If you are on node.js v18.2.0 or higher, you can also use node's fetch.
Problem
I'm unsure about how to use a proxy with fetch. I've found very little documentation about how to integrate a proxy and I seek to use separate proxies for any fetch request with username and password authentication if applicable.
Solution
As for a good solution I'd hope for a code example to perform a simple get request to a site (e.g. to ifconfig.me) using a proxy and instructions on how to include a username and password with that proxy.
The text was updated successfully, but these errors were encountered: