如何使用php/laravel在twilio中生成空白响应?
这是一个样品Twiml: <Response></Response>
<Response></Response>
这是我想出的代码(我正在使用laravel):
public function receivedSms(){ $response = new Twiml(); return response($response) ->header('Content-Type', 'text/xml'); }