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
const request = {
url: 'https://httpbin.org/',
method: 'GET',
requestInterceptor: req => {
req.agent = agent; // 设置代理
return req;
},
};
The above example is incorrect. I am new in this area,Thanks for your help.
The text was updated successfully, but these errors were encountered:
e:
const SwaggerClient = require('swagger-client');
const HttpsProxyAgent = require('https-proxy-agent');
const proxyUrl = 'http://your-proxy-url:port';
const agent = new HttpsProxyAgent(proxyUrl);
const request = {
url: 'https://httpbin.org/',
method: 'GET',
requestInterceptor: req => {
req.agent = agent; // 设置代理
return req;
},
};
The above example is incorrect. I am new in this area,Thanks for your help.
The text was updated successfully, but these errors were encountered: