RESTful_Services_Presentation_Styled_Divyansh
RESTful_Services_Presentation_Styled_Divyansh
Divyansh Baghel
DEFINITION, 0905CS211054
COMPONENTS, AND TYPES
INTRODUCTION
REST — or Representational State Transfer — is
not a protocol or a tool, but an architectural style
that uses the existing features of the web to build
robust APIs. By following simple principles like stateless
communication and resource-based interactions,
RESTful services provide a lightweight and flexible way
to access and manipulate data across distributed
systems.
WHAT IS A RESTFUL
SERVICE?
• Statelessness
• Client-Server Architecture
• Uniform Interface
• Cache ability
• Layered System
• Code on Demand (optional)
COMPONENTS OF
RESTFUL SERVICES
•Scalability : Stateless communication makes REST ideal for scalable systems and distributed
architecture.
•Performance : Lightweight data formats like JSON reduce overhead and improve speed.
•Flexibility : Can return multiple formats (JSON, XML, HTML, etc.) and work across different
platforms.
•Platform Independence : Clients and servers can be developed in different languages and
frameworks.
•Cache ability : Responses can be cached to improve performance and reduce server load.
•Widespread Adoption : Supported by all major browsers, programming languages, and cloud
platforms.
LIMITATIONS OF REST