REST (EN)
ConceptArchitectural style for distributed systems based on the HTTP protocol
Architecture
flowchart LR A[Client] -->|HTTP Request| B[REST API] B -->|GET/POST/PUT/DELETE| C[Ressource] C -->|JSON/XML| D[Datenbank]
Principles
- Client-Server: Separation of responsibilities
- Stateless: Each request contains all necessary information
- Cacheable: Responses can be cached
- Uniform Interface: Standardized interface
- Layered System: Intermediate layers possible