---
title: res.status
description: Chainable alias of node res.statusCode property.
---

<h3 id='res.status'>res.status(code)</h3>

Chainable alias of node's `res.statusCode=`.

```js
res.status(404).sendfile('path/to/404.png');
```
