Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Latest commit

 

History

History
39 lines (27 loc) · 1.09 KB

redirect.md

File metadata and controls

39 lines (27 loc) · 1.09 KB

{% method %}

XML: <Redirect>

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

Attributes

Attribute Description
requestUrl (required) Absolute URL to send event and request new BXML.
requestUrlTimeout (required) Time (milliseconds) to wait for requestUrl response.

Any verb after `` will not be executed.

Callbacks Recevied

Callbacks Can reply with more BXML
Redirect Yes

{% common %}

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 requestUrl="http://flow.url/nextBXML" requestUrlTimeout="10000"></Redirect>

</Response>

{% endmethod %}