---
title: Use dynamic backends to follow redirects
summary: Create a dynamic backend from the redirect response, and then get a response from the dynamic backend.
url: https://www.fastly.com/documentation/solutions/examples/use-dynamic-backends-to-follow-redirects
---

Create a dynamic backend from the redirect response, and then get a response from the dynamic backend.

## Compute

### Rust

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/cc56c5a4)

### Javascript

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/f01e8734)

### Go

[Try it in Fastly Fiddle](https://fiddle.fastly.dev/7d1c16df)

