{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
Developer

HTTP Status Code

HTTP Response Status Code

A three-digit code indicating the result of an HTTP request (e.g. 200 OK, 404 Not Found, 500 Server Error).

Chi tiết kỹ thuật

HTTP Status Code APIs use HTTP methods as verbs: GET (read), POST (create), PUT (replace), PATCH (partial update), DELETE (remove). Resources are identified by URIs and represented in JSON. RESTful design requires statelessness — each request contains all information needed for processing. HATEOAS (Hypermedia as the Engine of Application State) is the often-ignored constraint where responses include links to related actions, enabling API self-discovery.

Ví dụ

```javascript
// HTTP Status Code example
const input = 'sample data';
const result = process(input);
console.log(result);
```

Công cụ liên quan

Thuật ngữ liên quan