第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

TwiML 響應(yīng)主體太大錯誤 11750 laravel

TwiML 響應(yīng)主體太大錯誤 11750 laravel

PHP
尚方寶劍之說 2022-12-23 14:36:11
<?phpnamespace App\Http\Controllers;use Illuminate\Http\Request;use Twilio\Rest\Client;use Twilio\TwiML\VoiceResponse;class HomeController extends Controller{// call process    public function welcome(Request $request)    {        $twiml = new VoiceResponse();        if(isset($request->Digits)){            switch($request->Digits){                case 1:                    $twiml->say('thank you calling us');                    break;                default:                    $twiml->say('You have entered wrong key');                    break;            }        } else{            $twiml->say(                'Thank you for calling Call Congress! Press 1 for Connect the call.'            )->gather([                'numDigits' => 1,                'action' => $this->endCall();            ]);            /*$gather = $twiml->gather(array('numDigits' => 1));            $gather->say('Thank you for calling us. Press 1 to continue the call.');*/        }        return $twiml;    }    public static function endCall()    {        $twiml = new Twiml();        $twiml->say(            'Thank you for using Call Congress! ' .            'Your voice makes a difference. Goodbye.'        )->hangup();        return $twiml;    }}我收到一條錯誤消息“在您對 Twilio 請求的響應(yīng)中,響應(yīng)正文大于 64 kB。'. 可能的原因 您提供的 TwiML 大于 64 kB 或您在響應(yīng)中提供非 TwiML 內(nèi)容。提前致謝。
查看完整描述

1 回答

?
catspeake

TA貢獻1111條經(jīng)驗 獲得超0個贊

通常這意味著您的應(yīng)用程序正在崩潰并將堆棧跟蹤返回給 Twilio 以執(zhí)行,從而導致此錯誤。



查看完整回答
反對 回復 2022-12-23
  • 1 回答
  • 0 關(guān)注
  • 97 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號