REST API / GraphQL

A REST (Representational State Transfer) API is a style of architecture that uses the HTTP protocol to expose resources (users, products, orders, etc.) via URLs. Each operation (read, create, update, delete) is associated with an HTTP verb (GET, POST, PUT, DELETE, etc.). Responses are often returned in JSON format. GraphQL, on the other hand, is a more flexible alternative where the client describes precisely the data it needs in a single request. REST is simple and widely adopted, while GraphQL is appreciated for its efficiency when data requirements are complex or very varied.