6 Must-Know Concepts of RESTful APIs (also the reasons why REST is so popular)
[1] Stateless
Each request is independent of the other request.
The server doesn't store any info about the user between requests.
[2] Standard Response Formats
Responses are sent in standard formats such as JSON, XML, and plain text.
Clients can ask for a specific response type
[3] Resource-based
Special emphasis on resources rather than methods.
A resource is typically an entity within a system such as products, orders, and customers.
Each resource is uniquely identified using a URI or Uniform Resource Identifier
[4] Consistent Interface
HTTP methods like GET, POST, PUT, and DELETE ensure that interfaces are consistent.
[5] Separation of Concerns
The client and server function independently of each other.
This means you can scale them up or evolve them separately.
[6] Cacheable
HTTP responses can be cached on the client side to boost performance.
👉 So - What else will you add to the list?

Generated by Thread Navigator
Press ⌘ + S to quick-export
