---
name: "up.Request.prototype.originMode"
area: "API"
kind: "Property"
parent: "up.Request class"
visibility: "experimental"
url: "https://unpoly.com/api/up.Request.prototype.originMode"
---
<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.originMode

**This feature is experimental**. Please [share](https://github.com/unpoly/unpoly/discussions) your experiences so we know what to keep or change.

The [mode](https://unpoly.com/api/up.Layer.prototype.mode.md) of the layer from which the interaction [originated](https://unpoly.com/api/origin.md).

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

---

## Value {#value}

### originMode {#originMode}

Type: string

