---
title: Apply feature flags from an origin API
summary: Park request, make a different request first, use the response to annotate the real origin request (or make decisions about how to route it).
url: https://www.fastly.com/documentation/solutions/examples/preflighting-for-flags
---

Park request, make a different request first, use the response to annotate the real origin request (or make decisions about how to route it).

## VCL

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

## Compute

### Rust

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

### Javascript

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

### Go

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

