🍋
Menu
Developer

URI

Uniform Resource Identifier

A string that identifies a resource, encompassing both URLs (locators) and URNs (names).

รายละเอียดทางเทคนิค

URI 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.

ตัวอย่าง

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

เครื่องมือที่เกี่ยวข้อง

คำศัพท์ที่เกี่ยวข้อง