---
name: "up.Request.prototype.mode"
area: "API"
kind: "Property"
parent: "up.Request class"
url: "https://unpoly.com/api/up.Request.prototype.mode"
---
<nav aria-label="Unpoly docs">[All docs](https://unpoly.com/index.md) · [up.Request class](https://unpoly.com/api/up.Request.md)</nav>

# up.Request.prototype.mode

The [mode](https://unpoly.com/api/up.Layer.prototype.mode.md) of the layer targeted by this request.

The value will be sent as an [`X-Up-Mode`](https://unpoly.com/api/X-Up-Mode.md) header.

<nav aria-label="Guides">

- [Learn: Customizing overlays](https://unpoly.com/learn/customizing-overlays.md)

</nav>

---

## Value {#value}

### mode {#mode}

Type: string

