---
title: "  HTTPSTATUS"
url: "https://help.formsfly.com/en/article/httpstatus"
language: "en"
last_updated: "2025-01-13T16:46:23.007Z"
---

#   HTTPSTATUS

Returns the HTTP status code received when the given REST field last performed a REST request.

* * *

### Syntax  
`**HTTPSTATUS({{restField}})**`  
 

### Example

```plaintext
If the REST field named 'myRestField' executes a request successfully, then HTTPSTATUS({{myRestField}}) should return a value of '200'.
```

### Notes

[https://en.wikipedia.org/wiki/List\_of\_HTTP\_status\_codes](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
