This Function redirects a request from Twilio Functions to another URL by setting the Location header to the respective URL.
This Function expects the following environment variables set:
Variable | Meaning | Required |
---|---|---|
HTTP_REDIRECT_URL |
A URL to redirect the requests to | Yes |
This Function doesn't expect any parameters passed.