我正在使用Twilio webhook向我的网络服务器发送短信。
如果我的页面(getMe.php)包含乱码,我会在Twilio调试器中立即得到响应:
Twilio was unable to fetch content from:
https://someServer.com/somePath/getMe.php
Error: Empty/Invalid Response from Remote Host someServer.com
Request ID: fee6aee5-fe5f-4041-8d17-d32d615553a5
Remote Host: someServer.com
Request Method: POST
Request URI: https://someServer/somePath/getMe.php
SSL Version: TLSv1.2
如果我的页面(getMe.php)包含Twilio期望的以下有效xml响应:
<?php
header('Content-Type: text/xml');
?>
<Response>
<Message>
Hello <?php echo Hi ?>.
You said <?php echo Hello ?>
</Message>
我从Twilio获得了15000毫秒的超时时间。为什么我的Twilio呼叫超时?