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

# up.Preview.prototype.request

The [request](https://unpoly.com/api/up.Request.md) that is loading.

When the request ends for [any reason](https://unpoly.com/learn/previews.md#ending), all preview changes will be reverted before the server response is processed further.

Also see [inspecting the preview context](https://unpoly.com/learn/previews.md#inspecting-the-preview-context).

---

## Return value {#return-value}

Type: [up.Request](https://unpoly.com/api/up.Request.md)

