SlideShare a Scribd company logo
REST
SHAEQ AHMAD
Rest api
REST
 (Representational State Transfer)
• What is REST?
• How does REST work?
• Why REST?
What is REST?
• It’s about communication between computers
• It’s about designing the architecture of your applications
It’s about communication between
computers Web services! 
oSOAP / XML-RPC => communication
oREST => communication + standardisation
It’s about architecturing your
application
• Thesis by Roy Fielding (2000) “Architectural Styles and
the Design of Network-based Software Architectures”
• REST applies some constraints to the architecture of your
application
• interface is the same for humans and computers
How does REST work ?
Everything is a “resource”
4 basic requirements for a RESTful system
the concept of resource
• Resource = thing exposed by the system to the
outside world
• Everything is a resource
http://www.frailers.net/users/1
http://www.frailers.net/users/1/memberships
• Independent from its representation
user.html =>http://www.frailers.net/users/1
user.jpg => http://www.frailers.net/users/1
When is a system RESTful ? 
• Addressability 
• Statelessness 
• Connectivity
•  Uniform interface 
• 4 standardized actions:
•  GET - POST - PUT - DELETE
Rest api
Rest api
So, why REST ? 
• Standardisation is good 
• Why use so many different functions when you always do 
the same (CRUD’ing objects) 
• Why separate the logic for computers and 
humans ? (segregation is evil) 
• Statelessness => scalability and decoupling
●
JzakAllah

More Related Content

PPTX
Web services for banks
PDF
Results Workshop OAI6
PPTX
Web services
PDF
Introdution to Management Reporter - T3 Amplify 2013
PDF
Алексей Веркеенко "Symfony2 & REST API"
PPTX
Wedi - Web Data Interpreter
PPTX
Cross-platform interaction
PDF
Data All the Way Down
Web services for banks
Results Workshop OAI6
Web services
Introdution to Management Reporter - T3 Amplify 2013
Алексей Веркеенко "Symfony2 & REST API"
Wedi - Web Data Interpreter
Cross-platform interaction
Data All the Way Down

Similar to Rest api (20)

PPTX
Connecting to Data from Windows Phone 8
PPTX
Apiworld
PPTX
Connecting to Data from Windows Phone 8
PPTX
Mini-Training: Let's have a rest
PPTX
Express JS Rest API Tutorial
PPTX
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
PPTX
Build Modern Web Apps Using ASP.NET Web API and AngularJS
PPTX
Soa 27 rest and restful services
PPTX
Cloud robotics
PPTX
REST != WebAPI
PPT
Rest introduction
PPT
Treinamento 1
PDF
1. web technology basics
PPTX
Phalcon 2 High Performance APIs - DevWeekPOA 2015
PDF
From Web APIs to Cross-Device Web Sites
PDF
APIdays San Francisco, 06/22/2013
PDF
Designing RESTful APIs
PPTX
REST-API's for architects and managers
PPTX
Overview of Rest Service and ASP.NET WEB API
Connecting to Data from Windows Phone 8
Apiworld
Connecting to Data from Windows Phone 8
Mini-Training: Let's have a rest
Express JS Rest API Tutorial
Connecting to Data from Windows Phone 8 VSLive! Redmond 2013
Build Modern Web Apps Using ASP.NET Web API and AngularJS
Soa 27 rest and restful services
Cloud robotics
REST != WebAPI
Rest introduction
Treinamento 1
1. web technology basics
Phalcon 2 High Performance APIs - DevWeekPOA 2015
From Web APIs to Cross-Device Web Sites
APIdays San Francisco, 06/22/2013
Designing RESTful APIs
REST-API's for architects and managers
Overview of Rest Service and ASP.NET WEB API
Ad

Recently uploaded (20)

PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
System and Network Administration Chapter 2
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
L1 - Introduction to python Backend.pptx
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Nekopoi APK 2025 free lastest update
PPTX
history of c programming in notes for students .pptx
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
assetexplorer- product-overview - presentation
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Digital Strategies for Manufacturing Companies
wealthsignaloriginal-com-DS-text-... (1).pdf
Computer Software and OS of computer science of grade 11.pptx
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Digital Systems & Binary Numbers (comprehensive )
System and Network Administration Chapter 2
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
L1 - Introduction to python Backend.pptx
VVF-Customer-Presentation2025-Ver1.9.pptx
Understanding Forklifts - TECH EHS Solution
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PTS Company Brochure 2025 (1).pdf.......
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Nekopoi APK 2025 free lastest update
history of c programming in notes for students .pptx
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
assetexplorer- product-overview - presentation
Which alternative to Crystal Reports is best for small or large businesses.pdf
Digital Strategies for Manufacturing Companies
Ad

Rest api

  • 3. REST  (Representational State Transfer) • What is REST? • How does REST work? • Why REST?
  • 4. What is REST? • It’s about communication between computers • It’s about designing the architecture of your applications
  • 5. It’s about communication between computers Web services!  oSOAP / XML-RPC => communication oREST => communication + standardisation
  • 6. It’s about architecturing your application • Thesis by Roy Fielding (2000) “Architectural Styles and the Design of Network-based Software Architectures” • REST applies some constraints to the architecture of your application • interface is the same for humans and computers
  • 7. How does REST work ? Everything is a “resource” 4 basic requirements for a RESTful system
  • 8. the concept of resource • Resource = thing exposed by the system to the outside world • Everything is a resource http://www.frailers.net/users/1 http://www.frailers.net/users/1/memberships • Independent from its representation user.html =>http://www.frailers.net/users/1 user.jpg => http://www.frailers.net/users/1
  • 9. When is a system RESTful ?  • Addressability  • Statelessness  • Connectivity •  Uniform interface  • 4 standardized actions: •  GET - POST - PUT - DELETE
  • 12. So, why REST ?  • Standardisation is good  • Why use so many different functions when you always do  the same (CRUD’ing objects)  • Why separate the logic for computers and  humans ? (segregation is evil)  • Statelessness => scalability and decoupling