简体   繁体   中英

Twilio: GET number from XML

I want to get a number from a GET Response.

The Response looks like this (example number):

<Response>
 <Dial>+12345678912</Dial>
</Response>

I have created a Twilio Flow which has some code blocks and it has a GET Request, but i do not know how to get the Number from the GET Request into my forward call block.

How do i get this number in my forward call block?

Twilio developer evangelist here.

I assume you are using Studio when you say you have created a Twilio Flow.

If you are sending an HTTP request from a Studio Flow then you can add parameters in the widget. The parameters can be auto completed from the variables available in the flow. If you start typing {{ the autocomplete box will drop down.

Let me know if that helps at all.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM