XML: <Redirect>

The Redirect verb is used to redirect the current XML execution to another URL.

Attributes

Attribute Description
redirectUrl (required) URL to request new BXML from. A Redirect event will be sent to this endpoint.
redirectMethod (optional) The HTTP method to use for the request to redirectUrl. GET or POST. Default Value is POST.
username (optional) The username to send in the HTTP request to redirectUrl.
password (optional) The password to send in the HTTP request to redirectUrl.
tag (optional) A custom string that will be sent with this and all future callbacks unless overwritten by a future tag attribute or cleared.

May be cleared by setting tag=""

Max length 256 characters.

Callbacks Received

Callbacks Can reply with more BXML
Redirect Yes

Example: Redirect Verb

This shows how to use Bandwidth XML to redirect the response to a new url.

<?xml version="1.0" encoding="UTF-8"?>
<Response>
   <Redirect redirectUrl="http://flow.url/newFlow"/>
</Response>

results matching ""

    No results matching ""