6 Must-Know Concepts of RESTful APIs (also the reasons why REST is...

@ProgressiveCod2
Saurabh Dashora@ProgressiveCod2
41 views Aug 20, 2024 ~1 min read
1
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?
Media image
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • LinkedIn & Instagram Carousel Maker
Create Free Account

Includes 7-day Premium trial