SlideShare a Scribd company logo
RESTful Web services: The basics 
Presented by: Abubakar
RESTful Web services: The basics 
Representational State Transfer (REST) has 
gained widespread acceptance across the Web 
as a simpler alternative to SOAP- and Web 
Services Description Language (WSDL)-based 
Web services. 
SOAP, originally defined as Simple Object Access protocol, is a 
protocol specification for exchanging structured information in the 
implementation of web services in computer networks. 
The Web Services Description Language (WSDL pronounced "wiz'-dul") is an 
XML-based interface definition language that is used for describing the 
functionality offered by a web service.
Key evidence of this shift in 
interface design 
● Yahoo 
● Google 
● Facebook
The basic 
● REST defines a set of architectural principles 
by which you can design Web services that 
focus on a system's resources, including how 
resource states are addressed and transferred 
over HTTP by a wide range of clients written in 
different languages.
History 
● REST didn't attract this much attention when it 
was first introduced in 2000 by Roy Fielding at 
the University of California, Irvine, in his 
academic dissertation, "Architectural Styles 
and the Design of Network-based Software 
Architectures," which analyzes a set of 
software architecture principles that use the 
Web as a platform for distributed computing 
(see Resources for a link to this dissertation).
● REST asks developers to use HTTP methods explicitly 
and in a way that's consistent with the protocol definition. 
This basic REST design principle establishes a one-to-one 
mapping between create, read, update, and delete 
(CRUD) operations and HTTP methods. According to this 
mapping: 
● To create a resource on the server, use POST. 
● To retrieve a resource, use GET. 
● To change the state of a resource or to update it, use PUT. 
● To remove or delete a resource, use DELETE.
Common MIME types used by 
RESTful services 
MIME-Type Content-Type 
JSON application/json 
XML application/xml 
XHTML application/xhtml+xml 
Note: MIME: Multipurpose Internet Mail Extensions
Conclusion 
● REST is not always the right choice. It has caught on as a way to 
design Web services with less dependence on proprietary middleware. 
● As you've examined in the so-called principles of RESTful interface 
design, XML over HTTP is a powerful interface that allows internal 
applications, such as Asynchronous JavaScript + XML (Ajax)-based 
custom user interfaces, to easily connect, address, and consume 
resources. 
● In fact, the great fit between Ajax and REST has increased the amount 
of attention REST is getting these days. 
● Exposing a system's resources through a RESTful API is a flexible 
way to provide different kinds of applications with data formatted in a 
standard way.
Thank YOU !!!

More Related Content

What's hot

Web services
Web servicesWeb services
Web services
Ankit Anand
 
Web
WebWeb
Semantic web services
Semantic web servicesSemantic web services
Semantic web services
Mergani Eltahir
 
Fyp presentation 2 (SQL Converter)
Fyp presentation 2 (SQL Converter)Fyp presentation 2 (SQL Converter)
Fyp presentation 2 (SQL Converter)
Muhammad Shafiq
 
2005-01-04 Web Services Survey an Inventory Background, Goals and Status
2005-01-04 Web Services Survey an Inventory Background, Goals and Status2005-01-04 Web Services Survey an Inventory Background, Goals and Status
2005-01-04 Web Services Survey an Inventory Background, Goals and Status
Rudolf Husar
 
Web Services Inventory
Web Services InventoryWeb Services Inventory
Web Services Inventory
Rudolf Husar
 
How Internet Work
How Internet WorkHow Internet Work
How Internet Work
trendy updates
 
Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...
Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...
Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...
Edureka!
 
How to seamlessly incorporate CDN into your application stack
How to seamlessly incorporate CDN into your application stackHow to seamlessly incorporate CDN into your application stack
How to seamlessly incorporate CDN into your application stack
Jakub Wadolowski
 
Resource Oriented Architectures: The Future of Data API?
Resource Oriented Architectures: The Future of Data API?Resource Oriented Architectures: The Future of Data API?
Resource Oriented Architectures: The Future of Data API?
Victor Olex
 
Ntg web services
Ntg   web servicesNtg   web services
Ntg web services
Farag Zakaria
 
Cloud computing 21 concept of wsdl modeling
Cloud computing 21 concept of wsdl modelingCloud computing 21 concept of wsdl modeling
Cloud computing 21 concept of wsdl modeling
Vaibhav Khanna
 
Webservices intro
Webservices introWebservices intro
Webservices intro
Srikrishna k
 
Semantic web service
Semantic web serviceSemantic web service
Semantic web service
jean Agnimel
 
Internet
Internet Internet
Internet
ravalaum
 
REST vs SOAP
REST vs SOAPREST vs SOAP
REST vs SOAP
Sergio M
 
RESTFul api
RESTFul apiRESTFul api
RESTFul api
Fernando Oliveira
 
Eyes and Ears Vol. 2
Eyes and Ears Vol. 2Eyes and Ears Vol. 2
Eyes and Ears Vol. 2
CodeTN
 

What's hot (18)

Web services
Web servicesWeb services
Web services
 
Web
WebWeb
Web
 
Semantic web services
Semantic web servicesSemantic web services
Semantic web services
 
Fyp presentation 2 (SQL Converter)
Fyp presentation 2 (SQL Converter)Fyp presentation 2 (SQL Converter)
Fyp presentation 2 (SQL Converter)
 
2005-01-04 Web Services Survey an Inventory Background, Goals and Status
2005-01-04 Web Services Survey an Inventory Background, Goals and Status2005-01-04 Web Services Survey an Inventory Background, Goals and Status
2005-01-04 Web Services Survey an Inventory Background, Goals and Status
 
Web Services Inventory
Web Services InventoryWeb Services Inventory
Web Services Inventory
 
How Internet Work
How Internet WorkHow Internet Work
How Internet Work
 
Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...
Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...
Top 10 Most Popular JavaScript Frameworks | Which JavaScript Framework to lea...
 
How to seamlessly incorporate CDN into your application stack
How to seamlessly incorporate CDN into your application stackHow to seamlessly incorporate CDN into your application stack
How to seamlessly incorporate CDN into your application stack
 
Resource Oriented Architectures: The Future of Data API?
Resource Oriented Architectures: The Future of Data API?Resource Oriented Architectures: The Future of Data API?
Resource Oriented Architectures: The Future of Data API?
 
Ntg web services
Ntg   web servicesNtg   web services
Ntg web services
 
Cloud computing 21 concept of wsdl modeling
Cloud computing 21 concept of wsdl modelingCloud computing 21 concept of wsdl modeling
Cloud computing 21 concept of wsdl modeling
 
Webservices intro
Webservices introWebservices intro
Webservices intro
 
Semantic web service
Semantic web serviceSemantic web service
Semantic web service
 
Internet
Internet Internet
Internet
 
REST vs SOAP
REST vs SOAPREST vs SOAP
REST vs SOAP
 
RESTFul api
RESTFul apiRESTFul api
RESTFul api
 
Eyes and Ears Vol. 2
Eyes and Ears Vol. 2Eyes and Ears Vol. 2
Eyes and Ears Vol. 2
 

Similar to RESTful API by abubakar

Lab7 paper
Lab7 paperLab7 paper
REST Introduction.ppt
REST Introduction.pptREST Introduction.ppt
REST Introduction.ppt
KGSCSEPSGCT
 
REST & SOAP.pptx
REST & SOAP.pptxREST & SOAP.pptx
REST & SOAP.pptx
ZawLwinTun2
 
Unit 2
Unit 2Unit 2
Unit 2
Ravi Kumar
 
Introduction to webservices
Introduction to webservicesIntroduction to webservices
Introduction to webservices
Gagandeep Singh
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
Aravindharamanan S
 
Ijirsm ashok-kumar-ps-compulsiveness-of-res tful-web-services
Ijirsm ashok-kumar-ps-compulsiveness-of-res tful-web-servicesIjirsm ashok-kumar-ps-compulsiveness-of-res tful-web-services
Ijirsm ashok-kumar-ps-compulsiveness-of-res tful-web-services
IJIR JOURNALS IJIRUSA
 
Mini-Training: Let's have a rest
Mini-Training: Let's have a restMini-Training: Let's have a rest
Mini-Training: Let's have a rest
Betclic Everest Group Tech Team
 
Rest api design
Rest api designRest api design
Rest api design
Rudra Tripathy
 
unit -4 spring web services like SOA Arch
unit -4 spring web services like SOA Archunit -4 spring web services like SOA Arch
unit -4 spring web services like SOA Arch
sudharani127782
 
Restful web-services
Restful web-servicesRestful web-services
Restful web-services
rporwal
 
REST - Representational State Transfer
REST - Representational State TransferREST - Representational State Transfer
REST - Representational State Transfer
Peter R. Egli
 
Rest based xml web services
Rest based xml web servicesRest based xml web services
Rest based xml web services
snegacmr
 
API.pdf
API.pdfAPI.pdf
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
IRJET Journal
 
Application.pdf
Application.pdfApplication.pdf
Application.pdf
KarthigeyanS13
 
Wt unit 6 ppts web services
Wt unit 6 ppts web servicesWt unit 6 ppts web services
80068
8006880068
80068
DEEPIKA T
 
Restful web services ppt
Restful web services pptRestful web services ppt
A Study Of Web Services And Its Implications
A Study Of Web Services And Its ImplicationsA Study Of Web Services And Its Implications
A Study Of Web Services And Its Implications
Tony Lisko
 

Similar to RESTful API by abubakar (20)

Lab7 paper
Lab7 paperLab7 paper
Lab7 paper
 
REST Introduction.ppt
REST Introduction.pptREST Introduction.ppt
REST Introduction.ppt
 
REST & SOAP.pptx
REST & SOAP.pptxREST & SOAP.pptx
REST & SOAP.pptx
 
Unit 2
Unit 2Unit 2
Unit 2
 
Introduction to webservices
Introduction to webservicesIntroduction to webservices
Introduction to webservices
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
 
Ijirsm ashok-kumar-ps-compulsiveness-of-res tful-web-services
Ijirsm ashok-kumar-ps-compulsiveness-of-res tful-web-servicesIjirsm ashok-kumar-ps-compulsiveness-of-res tful-web-services
Ijirsm ashok-kumar-ps-compulsiveness-of-res tful-web-services
 
Mini-Training: Let's have a rest
Mini-Training: Let's have a restMini-Training: Let's have a rest
Mini-Training: Let's have a rest
 
Rest api design
Rest api designRest api design
Rest api design
 
unit -4 spring web services like SOA Arch
unit -4 spring web services like SOA Archunit -4 spring web services like SOA Arch
unit -4 spring web services like SOA Arch
 
Restful web-services
Restful web-servicesRestful web-services
Restful web-services
 
REST - Representational State Transfer
REST - Representational State TransferREST - Representational State Transfer
REST - Representational State Transfer
 
Rest based xml web services
Rest based xml web servicesRest based xml web services
Rest based xml web services
 
API.pdf
API.pdfAPI.pdf
API.pdf
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
 
Application.pdf
Application.pdfApplication.pdf
Application.pdf
 
Wt unit 6 ppts web services
Wt unit 6 ppts web servicesWt unit 6 ppts web services
Wt unit 6 ppts web services
 
80068
8006880068
80068
 
Restful web services ppt
Restful web services pptRestful web services ppt
Restful web services ppt
 
A Study Of Web Services And Its Implications
A Study Of Web Services And Its ImplicationsA Study Of Web Services And Its Implications
A Study Of Web Services And Its Implications
 

Recently uploaded

Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
TIPNGVN2
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Data structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdfData structures and Algorithms in Python.pdf
Data structures and Algorithms in Python.pdf
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 

RESTful API by abubakar

  • 1. RESTful Web services: The basics Presented by: Abubakar
  • 2. RESTful Web services: The basics Representational State Transfer (REST) has gained widespread acceptance across the Web as a simpler alternative to SOAP- and Web Services Description Language (WSDL)-based Web services. SOAP, originally defined as Simple Object Access protocol, is a protocol specification for exchanging structured information in the implementation of web services in computer networks. The Web Services Description Language (WSDL pronounced "wiz'-dul") is an XML-based interface definition language that is used for describing the functionality offered by a web service.
  • 3. Key evidence of this shift in interface design ● Yahoo ● Google ● Facebook
  • 4. The basic ● REST defines a set of architectural principles by which you can design Web services that focus on a system's resources, including how resource states are addressed and transferred over HTTP by a wide range of clients written in different languages.
  • 5. History ● REST didn't attract this much attention when it was first introduced in 2000 by Roy Fielding at the University of California, Irvine, in his academic dissertation, "Architectural Styles and the Design of Network-based Software Architectures," which analyzes a set of software architecture principles that use the Web as a platform for distributed computing (see Resources for a link to this dissertation).
  • 6. ● REST asks developers to use HTTP methods explicitly and in a way that's consistent with the protocol definition. This basic REST design principle establishes a one-to-one mapping between create, read, update, and delete (CRUD) operations and HTTP methods. According to this mapping: ● To create a resource on the server, use POST. ● To retrieve a resource, use GET. ● To change the state of a resource or to update it, use PUT. ● To remove or delete a resource, use DELETE.
  • 7. Common MIME types used by RESTful services MIME-Type Content-Type JSON application/json XML application/xml XHTML application/xhtml+xml Note: MIME: Multipurpose Internet Mail Extensions
  • 8. Conclusion ● REST is not always the right choice. It has caught on as a way to design Web services with less dependence on proprietary middleware. ● As you've examined in the so-called principles of RESTful interface design, XML over HTTP is a powerful interface that allows internal applications, such as Asynchronous JavaScript + XML (Ajax)-based custom user interfaces, to easily connect, address, and consume resources. ● In fact, the great fit between Ajax and REST has increased the amount of attention REST is getting these days. ● Exposing a system's resources through a RESTful API is a flexible way to provide different kinds of applications with data formatted in a standard way.