Live HTTP for CURL
I have series of curl commands that I want to translate into straight up HTTP requests.
I woul开发者_运维百科d like to use some live http utility that would record http requests made while I make the curl commands. And from this, I will translate the curl commands to their corresponding http requests.
Any recommendations?
Use wireshark - it is a great network analyzer and you can do so much more than just HTTP.
cURL also has some logging / debug functionality which may help. See CURLOPT_VERBOSE.
精彩评论