gpt4 book ai didi

php - 如何输出 Zend_Http_Client 将发送的 POST 数据列表?

转载 作者:行者123 更新时间:2023-12-02 03:28:30 26 4
gpt4 key购买 nike

我需要调试我的 Zend_Http_Client 代码,以便我确信我将所有正确的 POST 字段和 header 发送到我的服务器。如何输出将发送的 POST 字段列表,甚至整个 HTTP 命令是什么?

最佳答案

结果我错过了right in the documentation: getLastRequest() 将返回整个最后请求的字符串化版本!

关于php - 如何输出 Zend_Http_Client 将发送的 POST 数据列表?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7399173/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com