TWIML架构验证警告

时间:2016-01-22 19:18:14

标签: twilio twiml

这个Twiml块正在抛出模式验证警告。

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Message> Trinethra Indian Supermarket Peacock Indian Cuisine Sneha South & North Indian </Message>
    <Message>Restaurant Peacock Indian Cuisine Indian Health Center of Santa Clara Valley Inc</Message>
    <Message>orporated</Message>
</Response>

我无法弄清楚我犯的是什么错误。请帮忙。谢谢!

2 个答案:

答案 0 :(得分:2)

您只能在<Message>内使用<Response>。所以这样做:

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Message>Trinethra Indian Supermarket Peacock Indian Cuisine Sneha South & North Indian Restaurant Peacock Indian Cuisine Indian Health Center of Santa Clara Valley Inc orporated</Message>
</Response>

答案 1 :(得分:0)

我不确定您要使用哪种服务,但 Twilio TwiML 文档的这一部分可能会有所帮助:https://www.twilio.com/docs/sms/twiml