如何调试IIS上的curl? [英] How to debug curl on IIS?

查看:742
本文介绍了如何调试IIS上的curl?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检查CURL请求?

How to inspect CURL requests?

我的PHP脚本托管在IIS上,我想为CURL找到一些调试工具。
你能在fiddler风格中推荐一些东西吗?

My PHP scripts are hosted on IIS and I want to find some debugging tool for CURL. Could you suggest something in fiddler-style?

(或者有一种方法可以使用fiddler本身,我没有这样做, CURL通过代理隧道127.0.0.1它使CONNECT请求而不是GET)

(Or maybe there is a way to use fiddler itself, I failed to do so because if I make my CURL to tunnel through proxy 127.0.0.1 it makes CONNECT requests instead of GET)

推荐答案

wireshark 不适用于HTTPS,但只适用于HTTP。

wireshark is not working for HTTPS but for HTTP only.

您可以更改您的curl脚本HTTP?

Can you change your curl script to use HTTP ?

这篇关于如何调试IIS上的curl?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆