Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我遇到了 SOAP 请求问题。
如果交易正确执行,我需要放弃一个 url,回调 url 是什么。文档说这个 url 中会有一个响应,但我似乎没有找到如何在 PHP 中提取响应。
我试图做一个 POST en GET vars 的 print_r,但它们似乎是空的。
所以我想知道有人可以就我可以尝试的内容提出建议吗?
谢谢你
如果您想获取您在 php 脚本中收到的完整请求正文,请使用:
$request = file_get_contents('php://input');
您将获得一个字符串,例如 SOAP 请求。