---
sidebar_label: HTTPResponse.status
---

# HTTPResponse.status() method

The status code of the response (e.g., 200 for a success).

### Signature

```typescript
class HTTPResponse {
  abstract status(): number;
}
```

**Returns:**

number
