为什么需要以这种方式设置 curl 以允许使用 fiddler 而其余的则不需要?
Why does curl need to be set this way to allow using fiddler and the rest doesn't?
我尝试将 curl 与 netbean 一起使用,但我的流量没有显示在 fiddler 上。
我查了一下,我看到了
http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigurePHPcURL
它说我必须将代理设置为
curl_setopt($ch, CURLOPT_PROXY, '127.0.0.1:8888');
有点明白了
但是我的visual studio,我的firefox,什么都不用设置代理。
为什么我的 netbean curl 要求我这样做?
Configure Browsers for Fiddler > Manual Configuration:
To manually configure any browser to send traffic to Fiddler, set the
browser to connect to a proxy server. This setting is usually in the
Options or Preferences menu. Use these settings:
Address: 127.0.0.1 Port: 8888
因此 NetBeans 需要相同的设置来捕获 cURL 流量。
我尝试将 curl 与 netbean 一起使用,但我的流量没有显示在 fiddler 上。
我查了一下,我看到了
http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigurePHPcURL
它说我必须将代理设置为
curl_setopt($ch, CURLOPT_PROXY, '127.0.0.1:8888');
有点明白了
但是我的visual studio,我的firefox,什么都不用设置代理。
为什么我的 netbean curl 要求我这样做?
Configure Browsers for Fiddler > Manual Configuration:
To manually configure any browser to send traffic to Fiddler, set the browser to connect to a proxy server. This setting is usually in the Options or Preferences menu. Use these settings:
Address: 127.0.0.1 Port: 8888
因此 NetBeans 需要相同的设置来捕获 cURL 流量。