SlideShare a Scribd company logo
Introduction to REST - API
Background
HTTP Overview
REST - API Overview
Design Constraints
Benefits
Examples
Developed by W3C - World Wide Web Consortium
Technical Architecture Group (TAG) in parallel with HTTP 1.1
Software architecture
Components
Connectors
Data
Architectural properties
Allows for sending documents back & forth on the web.
URL’s Identifies a ā€œResourceā€.
/Team - identify all Team
/Team/QA/ABC - identify the Member of a team.
HTTP Verbs
GET / PUT / DELETE / POST
Representations
Response Codes
200 OK
201 Created
500 Internal Server Error
400 Bad Request
404 Not Found
REST – API Stands for?
Request Static Transfer
Remote State Transfer
Remote Stored Transfer
Remote Static Transfer
Correct Answer is…
REpresentational State Transfer
Relies on a
Stateless
Client - Server
Cacheable communications protocol
HTTP protocol is used.
Architecture Style for designing networked applications
The Design Constraints for REST – API style.
Uniform Interface
Simplifies and Decouples the architecture.
Enables each part to evolve independently.
Four guiding principles
Resource-Based
Manipulation of Resources Through Representations
Self-descriptive Messages
Hypermedia as the Engine of Application State (HATEOAS)
Stateless
State to handle the request is contained within the request itself.
The URI uniquely identifies the resource and the body contains the state
(or state change) of that resource.
After Server Process - communicated back to the client via headers,
status and response body.
Enables greater scalability - server does not have to maintain, update or
communicate that session state.
Load balancers don't have to worry about session affinity for stateless
systems
Cacheable
Well-managed caching partially or completely eliminates some client–
server interactions, further improving scalability and performance.
Client-Server
Uniform interface separates clients from servers.
Clients are not concerned with data storage - portability of client code is
improved.
Servers are not concerned with the user interface or user state - servers
can be simpler and more scalable
Layered System
A client cannot connected directly to the end server.
A client may connected with Server via Intermediary servers.
Intermediary servers may improve system scalability by enabling load-
balancing.
Helps to enforce security policies.
Network Performance
Efficiency - Caching data
Scalability - Gateway, Proxy and layered
User Perceived Performance - Caching
pre-fetched information
- Eg: Form Validation
Introduction to REST - API
Introduction to REST - API

More Related Content

PPTX
Introduction to APIs (Application Programming Interface)
Vibhawa Nirmal
Ā 
PPTX
An Introduction To REST API
Aniruddh Bhilvare
Ā 
PPTX
REST API
Tofazzal Ahmed
Ā 
PDF
REST API and CRUD
Prem Sanil
Ā 
PDF
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
Ā 
PPSX
Rest api standards and best practices
Ankita Mahajan
Ā 
PPTX
RESTful API - Best Practices
Tricode (part of Dept)
Ā 
PPTX
Free Training: How to Build a Lakehouse
Databricks
Ā 
Introduction to APIs (Application Programming Interface)
Vibhawa Nirmal
Ā 
An Introduction To REST API
Aniruddh Bhilvare
Ā 
REST API
Tofazzal Ahmed
Ā 
REST API and CRUD
Prem Sanil
Ā 
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
Ā 
Rest api standards and best practices
Ankita Mahajan
Ā 
RESTful API - Best Practices
Tricode (part of Dept)
Ā 
Free Training: How to Build a Lakehouse
Databricks
Ā 

What's hot (20)

PPTX
Understanding REST APIs in 5 Simple Steps
Tessa Mero
Ā 
PPTX
Rest API
Rohana K Amarakoon
Ā 
PPT
Introduction to the Web API
Brad Genereaux
Ā 
PDF
Introduction to API
rajnishjha29
Ā 
PPT
Understanding REST
Nitin Pande
Ā 
PPTX
REST API Design & Development
Ashok Pundit
Ā 
PPTX
Web api
Sudhakar Sharma
Ā 
PDF
REST APIs with Spring
Joshua Long
Ā 
PPTX
REST-API introduction for developers
Patrick Savalle
Ā 
PDF
Rest web services
Paulo Gandra de Sousa
Ā 
PPT
PHP - Introduction to PHP AJAX
Vibrant Technologies & Computers
Ā 
PPTX
02 api gateway
Janani Velmurugan
Ā 
PPTX
API
Masters Academy
Ā 
PPTX
Laravel ppt
Mayank Panchal
Ā 
PPTX
API Design- Best Practices
Prakash Bhandari
Ā 
PDF
Api presentation
Tiago Cardoso
Ā 
PPTX
REST & RESTful Web Services
Halil Burak Cetinkaya
Ā 
PDF
Laravel presentation
Toufiq Mahmud
Ā 
PPTX
Rest & RESTful WebServices
Prateek Tandon
Ā 
PPT
Postman.ppt
ParrotBAD
Ā 
Understanding REST APIs in 5 Simple Steps
Tessa Mero
Ā 
Rest API
Rohana K Amarakoon
Ā 
Introduction to the Web API
Brad Genereaux
Ā 
Introduction to API
rajnishjha29
Ā 
Understanding REST
Nitin Pande
Ā 
REST API Design & Development
Ashok Pundit
Ā 
Web api
Sudhakar Sharma
Ā 
REST APIs with Spring
Joshua Long
Ā 
REST-API introduction for developers
Patrick Savalle
Ā 
Rest web services
Paulo Gandra de Sousa
Ā 
PHP - Introduction to PHP AJAX
Vibrant Technologies & Computers
Ā 
02 api gateway
Janani Velmurugan
Ā 
Laravel ppt
Mayank Panchal
Ā 
API Design- Best Practices
Prakash Bhandari
Ā 
Api presentation
Tiago Cardoso
Ā 
REST & RESTful Web Services
Halil Burak Cetinkaya
Ā 
Laravel presentation
Toufiq Mahmud
Ā 
Rest & RESTful WebServices
Prateek Tandon
Ā 
Postman.ppt
ParrotBAD
Ā 
Ad

Similar to Introduction to REST - API (20)

PPTX
Rest surekha
Surekha Achanta
Ā 
PPTX
Cordova training - Day 8 - REST API's
Binu Paul
Ā 
PPT
Enterprise Software Architecture
rahmed_sct
Ā 
PDF
Rest API Automation with REST Assured
TO THE NEW Pvt. Ltd.
Ā 
PPT
200211 Fielding Apachecon
Daniel Parker
Ā 
PPT
Rest introduction
William Martinez Pomares
Ā 
PPTX
Building-Robust-APIs-ASPNET-Web-API-and-RESTful-Patterns.pptx
keshabregmi1
Ā 
PPT
REST Introduction.ppt
KGSCSEPSGCT
Ā 
PPTX
Rest and Sling Resolution
DEEPAK KHETAWAT
Ā 
PDF
REST - Representational state transfer
Tricode (part of Dept)
Ā 
PDF
ReST (Representational State Transfer) Explained
Dhananjay Nene
Ā 
PPTX
Lecture 12
vishal choudhary
Ā 
PPTX
Time to REST: testing web services
Iurii Kutelmakh
Ā 
PPT
Silicon India Java Conference: Building Scalable Solutions For Commerce Silic...
Kalaiselvan (Selvan)
Ā 
PDF
JavaEE6 my way
Nicola Pedot
Ā 
PPTX
Mini-Training: Let's have a rest
Betclic Everest Group Tech Team
Ā 
PDF
REST - Representational State Transfer
Peter R. Egli
Ā 
PPTX
A Deep Dive into RESTful API Design Part 1
VivekKrishna34
Ā 
PPT
Developing Web Services With Oracle Web Logic Server
Gaurav Sharma
Ā 
PPTX
REST != WebAPI
Dan (Danut) Prisacaru
Ā 
Rest surekha
Surekha Achanta
Ā 
Cordova training - Day 8 - REST API's
Binu Paul
Ā 
Enterprise Software Architecture
rahmed_sct
Ā 
Rest API Automation with REST Assured
TO THE NEW Pvt. Ltd.
Ā 
200211 Fielding Apachecon
Daniel Parker
Ā 
Rest introduction
William Martinez Pomares
Ā 
Building-Robust-APIs-ASPNET-Web-API-and-RESTful-Patterns.pptx
keshabregmi1
Ā 
REST Introduction.ppt
KGSCSEPSGCT
Ā 
Rest and Sling Resolution
DEEPAK KHETAWAT
Ā 
REST - Representational state transfer
Tricode (part of Dept)
Ā 
ReST (Representational State Transfer) Explained
Dhananjay Nene
Ā 
Lecture 12
vishal choudhary
Ā 
Time to REST: testing web services
Iurii Kutelmakh
Ā 
Silicon India Java Conference: Building Scalable Solutions For Commerce Silic...
Kalaiselvan (Selvan)
Ā 
JavaEE6 my way
Nicola Pedot
Ā 
Mini-Training: Let's have a rest
Betclic Everest Group Tech Team
Ā 
REST - Representational State Transfer
Peter R. Egli
Ā 
A Deep Dive into RESTful API Design Part 1
VivekKrishna34
Ā 
Developing Web Services With Oracle Web Logic Server
Gaurav Sharma
Ā 
REST != WebAPI
Dan (Danut) Prisacaru
Ā 
Ad

Recently uploaded (20)

PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
Ā 
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
Ā 
PDF
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
Ā 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
Ā 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
Ā 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
Ā 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
Ā 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
Ā 
PDF
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
Ā 
PDF
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
Ā 
PDF
Google’s NotebookLM Unveils Video Overviews
SOFTTECHHUB
Ā 
PDF
Software Development Methodologies in 2025
KodekX
Ā 
PDF
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
CIFDAQ
Ā 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
Ā 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
Ā 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
Ā 
PDF
Enable Enterprise-Ready Security on IBM i Systems.pdf
Precisely
Ā 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
Ā 
PDF
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
CIFDAQ
Ā 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
Ā 
Presentation about Hardware and Software in Computer
snehamodhawadiya
Ā 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
Ā 
agentic-ai-and-the-future-of-autonomous-systems.pdf
siddharthnetsavvies
Ā 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
Ā 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
Ā 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
Ā 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
Ā 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
Ā 
CIFDAQ'S Market Insight: BTC to ETH money in motion
CIFDAQ
Ā 
Why Your AI & Cybersecurity Hiring Still Misses the Mark in 2025
Virtual Employee Pvt. Ltd.
Ā 
Google’s NotebookLM Unveils Video Overviews
SOFTTECHHUB
Ā 
Software Development Methodologies in 2025
KodekX
Ā 
CIFDAQ's Teaching Thursday: Moving Averages Made Simple
CIFDAQ
Ā 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
Ā 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
Ā 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
Ā 
Enable Enterprise-Ready Security on IBM i Systems.pdf
Precisely
Ā 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
Ā 
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
CIFDAQ
Ā 
cloud computing vai.pptx for the project
vaibhavdobariyal79
Ā 

Introduction to REST - API

  • 2. Background HTTP Overview REST - API Overview Design Constraints Benefits Examples
  • 3. Developed by W3C - World Wide Web Consortium Technical Architecture Group (TAG) in parallel with HTTP 1.1 Software architecture Components Connectors Data Architectural properties
  • 4. Allows for sending documents back & forth on the web. URL’s Identifies a ā€œResourceā€. /Team - identify all Team /Team/QA/ABC - identify the Member of a team. HTTP Verbs GET / PUT / DELETE / POST Representations Response Codes 200 OK 201 Created 500 Internal Server Error 400 Bad Request 404 Not Found
  • 5. REST – API Stands for? Request Static Transfer Remote State Transfer Remote Stored Transfer Remote Static Transfer Correct Answer is… REpresentational State Transfer
  • 6. Relies on a Stateless Client - Server Cacheable communications protocol HTTP protocol is used. Architecture Style for designing networked applications The Design Constraints for REST – API style.
  • 7. Uniform Interface Simplifies and Decouples the architecture. Enables each part to evolve independently. Four guiding principles Resource-Based Manipulation of Resources Through Representations Self-descriptive Messages Hypermedia as the Engine of Application State (HATEOAS)
  • 8. Stateless State to handle the request is contained within the request itself. The URI uniquely identifies the resource and the body contains the state (or state change) of that resource. After Server Process - communicated back to the client via headers, status and response body. Enables greater scalability - server does not have to maintain, update or communicate that session state. Load balancers don't have to worry about session affinity for stateless systems
  • 9. Cacheable Well-managed caching partially or completely eliminates some client– server interactions, further improving scalability and performance. Client-Server Uniform interface separates clients from servers. Clients are not concerned with data storage - portability of client code is improved. Servers are not concerned with the user interface or user state - servers can be simpler and more scalable
  • 10. Layered System A client cannot connected directly to the end server. A client may connected with Server via Intermediary servers. Intermediary servers may improve system scalability by enabling load- balancing. Helps to enforce security policies.
  • 11. Network Performance Efficiency - Caching data Scalability - Gateway, Proxy and layered User Perceived Performance - Caching pre-fetched information - Eg: Form Validation