SlideShare a Scribd company logo
1 of 19
Author:
TU Tran
Skype: tranthanhtu83
 Overview
 Actions (Verbs)
 Output
 Constraints
 Q&A
Agenda
TU Tran
REST stands for
“Representational State Transfer”
Overview
TU Tran
Overview
TU Tran
Web server
Client (Browser)
Request
Response
Hey, I need to GET
detail of #4 user
Here it is:
Actions (Verbs)
TU Tran
Get list of resource
Get detail of resource
Create new resource
Update of resource
Delete a resource
Actions/ Get
TU Tran
Actions/ Create
TU Tran
Actions/ Update
TU Tran
Actions/ Delete
TU Tran
Output
TU Tran
-JSON
-XML
-CSV
Output
TU Tran
- Use header request
Accept: application/json
- Use query string
Get http://localhost/user.json
- Use file extension
Get http://localhost/user.json
Constraints
TU Tran
Client – Server
Uniform Interface
Stateless
Cacheable
Layered System
Code on Demand (optional)
Constraints / Client - Server
TU Tran
I will show this as
the list of users
OK, I will get this
from MSSQL
- Get detail of #4 user:
../api/users/4
- Get detail of #2 category:
../api/categories/2
Constraints / Uniform Interface
TU Tran
 The request must be independent each other
 Easy to add more servers if need
Constraints / Stateless
TU Tran
Web server
Client (Browser)
Request
Response
Hey Server, Please
looks in the package
to get whatever you
need
OK, I have all
information to
process your request
Constraints / Cacheable
TU Tran
Avoiding unnecessary processing
Significantly increasing performance
Constraints / Layered System
TU Tran
This structure is much more flexible to change
TU Tran
Q&A
THANK YOU
TU Tran

More Related Content

Viewers also liked

Garam Farmasi Belum Swasembada
Garam Farmasi Belum SwasembadaGaram Farmasi Belum Swasembada
Garam Farmasi Belum SwasembadaRNI Holding
 
The Absedy Alphabet ISBI Challenge-Chapter 2
The Absedy Alphabet ISBI Challenge-Chapter 2The Absedy Alphabet ISBI Challenge-Chapter 2
The Absedy Alphabet ISBI Challenge-Chapter 2WistfulRose
 
The Absedy Alphabet Challenge-Chapter 3
The Absedy Alphabet Challenge-Chapter 3The Absedy Alphabet Challenge-Chapter 3
The Absedy Alphabet Challenge-Chapter 3WistfulRose
 
실시간카지노『OPT』.『ASIA』카지노사이트 싸이트
실시간카지노『OPT』.『ASIA』카지노사이트 싸이트실시간카지노『OPT』.『ASIA』카지노사이트 싸이트
실시간카지노『OPT』.『ASIA』카지노사이트 싸이트ghjdfsg
 
Metric volumewkst
Metric volumewkstMetric volumewkst
Metric volumewkstMrs. Henley
 
Future of Public Spaces II: Hedwig Crooijmans-Lemmer
Future of Public Spaces II:  Hedwig Crooijmans-LemmerFuture of Public Spaces II:  Hedwig Crooijmans-Lemmer
Future of Public Spaces II: Hedwig Crooijmans-Lemmerfuturecapetown
 
Марина Якунина
Марина ЯкунинаМарина Якунина
Марина Якунинаyuliy davidov
 
Unnamed anthropophagous Vagina Monologues
Unnamed anthropophagous Vagina MonologuesUnnamed anthropophagous Vagina Monologues
Unnamed anthropophagous Vagina Monologuesyuliy davidov
 
[스타워즈2]인물대사
[스타워즈2]인물대사[스타워즈2]인물대사
[스타워즈2]인물대사MinJin Yang
 

Viewers also liked (14)

CUARESMA 2014
CUARESMA 2014CUARESMA 2014
CUARESMA 2014
 
Garam Farmasi Belum Swasembada
Garam Farmasi Belum SwasembadaGaram Farmasi Belum Swasembada
Garam Farmasi Belum Swasembada
 
The Absedy Alphabet ISBI Challenge-Chapter 2
The Absedy Alphabet ISBI Challenge-Chapter 2The Absedy Alphabet ISBI Challenge-Chapter 2
The Absedy Alphabet ISBI Challenge-Chapter 2
 
Yogueando
YogueandoYogueando
Yogueando
 
The Absedy Alphabet Challenge-Chapter 3
The Absedy Alphabet Challenge-Chapter 3The Absedy Alphabet Challenge-Chapter 3
The Absedy Alphabet Challenge-Chapter 3
 
conf 24-28
conf 24-28conf 24-28
conf 24-28
 
실시간카지노『OPT』.『ASIA』카지노사이트 싸이트
실시간카지노『OPT』.『ASIA』카지노사이트 싸이트실시간카지노『OPT』.『ASIA』카지노사이트 싸이트
실시간카지노『OPT』.『ASIA』카지노사이트 싸이트
 
Metric volumewkst
Metric volumewkstMetric volumewkst
Metric volumewkst
 
Future of Public Spaces II: Hedwig Crooijmans-Lemmer
Future of Public Spaces II:  Hedwig Crooijmans-LemmerFuture of Public Spaces II:  Hedwig Crooijmans-Lemmer
Future of Public Spaces II: Hedwig Crooijmans-Lemmer
 
Марина Якунина
Марина ЯкунинаМарина Якунина
Марина Якунина
 
unloved.ga
unloved.gaunloved.ga
unloved.ga
 
Lihovid drabkina
Lihovid drabkinaLihovid drabkina
Lihovid drabkina
 
Unnamed anthropophagous Vagina Monologues
Unnamed anthropophagous Vagina MonologuesUnnamed anthropophagous Vagina Monologues
Unnamed anthropophagous Vagina Monologues
 
[스타워즈2]인물대사
[스타워즈2]인물대사[스타워즈2]인물대사
[스타워즈2]인물대사
 

Similar to REST API Design Fundamentals - 40 Character Title

Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocolwanangwa234
 
rest-api-basics.pptx
rest-api-basics.pptxrest-api-basics.pptx
rest-api-basics.pptxFikiRieza2
 
RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座Li Yi
 
rest-api-basics.pptx
rest-api-basics.pptxrest-api-basics.pptx
rest-api-basics.pptxAgungSutikno1
 
Restful webservices
Restful webservicesRestful webservices
Restful webservicesKong King
 
RESTful services
RESTful servicesRESTful services
RESTful servicesgouthamrv
 
SAP ODATA Overview & Guidelines
SAP ODATA Overview & GuidelinesSAP ODATA Overview & Guidelines
SAP ODATA Overview & GuidelinesAshish Saxena
 
CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...
CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...
CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...Crossref
 
Http request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NHttp request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NNavaneethan Naveen
 
Designing for Distributed Systems with Reactor and Reactive Streams
Designing for Distributed Systems with Reactor and Reactive StreamsDesigning for Distributed Systems with Reactor and Reactive Streams
Designing for Distributed Systems with Reactor and Reactive StreamsStéphane Maldini
 
A Conversation About REST
A Conversation About RESTA Conversation About REST
A Conversation About RESTJeremy Brown
 
A Conversation About REST
A Conversation About RESTA Conversation About REST
A Conversation About RESTMike Wilcox
 
A Conversation About REST - Extended Version
A Conversation About REST - Extended VersionA Conversation About REST - Extended Version
A Conversation About REST - Extended VersionJeremy Brown
 
Sap basis administrator user guide
Sap basis administrator   user guideSap basis administrator   user guide
Sap basis administrator user guidePoguttuezhiniVP
 
CenitHub Presentations | 4- Flows, Connections & Webhooks
CenitHub Presentations | 4- Flows, Connections & WebhooksCenitHub Presentations | 4- Flows, Connections & Webhooks
CenitHub Presentations | 4- Flows, Connections & WebhooksMiguel Sancho
 
Module 3 - How SWORD Works
Module 3 - How SWORD WorksModule 3 - How SWORD Works
Module 3 - How SWORD WorksSWORD Project
 

Similar to REST API Design Fundamentals - 40 Character Title (20)

Hypertex transfer protocol
Hypertex transfer protocolHypertex transfer protocol
Hypertex transfer protocol
 
rest-api-basics.pptx
rest-api-basics.pptxrest-api-basics.pptx
rest-api-basics.pptx
 
RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座RESTful SOA - 中科院暑期讲座
RESTful SOA - 中科院暑期讲座
 
rest-api-basics.pptx
rest-api-basics.pptxrest-api-basics.pptx
rest-api-basics.pptx
 
Restful webservices
Restful webservicesRestful webservices
Restful webservices
 
ROA.ppt
ROA.pptROA.ppt
ROA.ppt
 
RESTful services
RESTful servicesRESTful services
RESTful services
 
Rest with Spring
Rest with SpringRest with Spring
Rest with Spring
 
SAP ODATA Overview & Guidelines
SAP ODATA Overview & GuidelinesSAP ODATA Overview & Guidelines
SAP ODATA Overview & Guidelines
 
Rest
RestRest
Rest
 
CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...
CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...
CrossRef How-to: A Technical Introduction to the Basics of CrossRef, Chuck Ko...
 
Http request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.NHttp request&response session 1 - by Vignesh.N
Http request&response session 1 - by Vignesh.N
 
Designing for Distributed Systems with Reactor and Reactive Streams
Designing for Distributed Systems with Reactor and Reactive StreamsDesigning for Distributed Systems with Reactor and Reactive Streams
Designing for Distributed Systems with Reactor and Reactive Streams
 
A Conversation About REST
A Conversation About RESTA Conversation About REST
A Conversation About REST
 
A Conversation About REST
A Conversation About RESTA Conversation About REST
A Conversation About REST
 
ASP.NET WEB API Training
ASP.NET WEB API TrainingASP.NET WEB API Training
ASP.NET WEB API Training
 
A Conversation About REST - Extended Version
A Conversation About REST - Extended VersionA Conversation About REST - Extended Version
A Conversation About REST - Extended Version
 
Sap basis administrator user guide
Sap basis administrator   user guideSap basis administrator   user guide
Sap basis administrator user guide
 
CenitHub Presentations | 4- Flows, Connections & Webhooks
CenitHub Presentations | 4- Flows, Connections & WebhooksCenitHub Presentations | 4- Flows, Connections & Webhooks
CenitHub Presentations | 4- Flows, Connections & Webhooks
 
Module 3 - How SWORD Works
Module 3 - How SWORD WorksModule 3 - How SWORD Works
Module 3 - How SWORD Works
 

Recently uploaded

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 

Recently uploaded (20)

08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 

REST API Design Fundamentals - 40 Character Title

Editor's Notes

  1. Was used as the interface between client and server Saperated concern: client care how to display data, server cares how to save data
  2. Specify what client expect to receive format of data Some client can handle well on json, some other can handle well on xml
  3. Common ways
  4. Any commit will trigger process to check and report the result Should make it automate
  5. Should make it automate
  6. Set the same target to end user - High-quality software, Faster releases, and Improved customer satisfaction who usually expects fast and stable features Improved deploy frequency which can lead to faster time to market Lower failure rate Shortened lead time Faster mean time to recovery