开发者

How to output a list of POST data which Zend_Http_Client will send?

开发者 https://www.devze.com 2023-04-04 16:59 出处:网络
I need to debug my Zend_Http_Client 开发者_开发问答code so that I am sure that I am sending all of the proper POST fields & headers to my server. How can I output the list of the POST fields which

I need to debug my Zend_Http_Client 开发者_开发问答code so that I am sure that I am sending all of the proper POST fields & headers to my server. How can I output the list of the POST fields which will be sent, or even what the entire HTTP command will be?


Turns out I missed it right in the documentation: getLastRequest() will return a stringified version of the entire last request!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号