Redirect

The <Redirect> verb transfers control of a call to the RCML at a different URL. All verbs after <Redirect> are unreachable and ignored.

Redirect Attributes

Name

Allowed Values

Default Value

method

GET, POST

POST

Method. The 'method' attribute takes the value 'GET' or 'POST'. This tells CallAPI whether to request the URL via HTTP GET or POST.

Nesting

Example of how to use the <Redirect> verb:

Example

For an example of how to use the verb see below.

<Response>
    <Redirect>http://foobar.com/instructions</Redirect>
</Response>

Last updated