我的POST请求不会发送到Fiddler,即使我指定了一个代理url:
router.get('/', function (req, res) {
console.log("in /api/");
request(
{
method: "POST",
uri: "http://api(...)'", //I cut the real url
proxy: "http://127.0.0.1:8888" //
},
function (err, response, body) {
// console.log(response);
res.send(response); // this gives me a real response
});
});注意:我的url:http://node.dev:8080/api指向本地主机。
知道我做错了什么吗?
发布于 2015-02-18 01:52:49
我刚意识到这是我和小提琴手的问题。我需要更改fiddler设置以显示所有进程,而不仅仅是web浏览器。
https://stackoverflow.com/questions/28567581
复制相似问题