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

# up.Response.prototype.ok

Returns whether the server responded with a `2xx` HTTP status.

---

## Value {#value}

### ok {#ok}

Type: boolean

