SlideShare a Scribd company logo
Developing RESTful APIs using JAX-RS
HTTP MESSAGES
 16 years of Industry Experience
 Worked in Hughes, HCL India PVT LTD, IBM India PVT LTD, CSC India ( > 4 years)
Proficiency
 Project managed full life cycle application & product development and run/
maintenance projects
 Agile Coach, Certified PMP®, and Certified ITIL® Foundation Associate
Passion
 Imparting Knowledge through Trainings, webinars, conference & Articles
Contact Details
Email: sureshkumarmadhra@yahoo.com
LinkedIn: https://www.linkedin.com/in/sureshmadhra
About Suresh Madhra
HTTP Communication
HTTP Request Message
HTTP request message is sent from the client (Brower) to HTTP Web-Server.
Request message contain:
 location of a resource or resource URI
 HTTP method to use when accessing the resource.
 Optional request headers (name-value pairs) providing additional
information
 Request body that identifies additional data to be uploaded to the
server (e.g. form parameters, attachments, etc.)
HTTP Response Message
HTTP response message is sent from HTTP Web-Server back to the client
(Web-Browser).
Response message contain:
 Carry status of processed request.
 Provide response headers (name-value pairs) providing additional
information about the response
 Supplies optional response body that identifies additional data to be
downloaded to the server (e.g. html, images, attachments etc.
HTTP Request and Response Message
HTTP Request/ Response Message Format
Request
HTTP Request Line
/fruits/list?category=fruits&limits=20
Path to resource Query string
HTTP /1.1
HTTP Methods
HTTP General Header
Request/ Response General Header
 Carry information about the HTTP transaction
 Can be a part of request, as well as response
General Headers
HTTP Request Header
Request Header
 Specific to an HTTP Request
 Carry information about the client, and the type of request
 Facilitates better understanding between client and server
Request Headers
HTTP Entity Header
Request/ Response Entity Header
 Carry information about the content
 Mainly part of HTTP Response
Entity Headers
HTTP Response Status code
Response Status Code
 Indicate the server’s processed status corresponding to a request
 Combination of a numerical code, and a short description
Ad

Recommended

Restful Fundamentals
Restful Fundamentals
Suresh Madhra
 
ReST (Representational State Transfer) Explained
ReST (Representational State Transfer) Explained
Dhananjay Nene
 
ReSTful API Final
ReSTful API Final
Claudine Bruyns
 
The Rest Architectural Style
The Rest Architectural Style
Robert Wilson
 
REST - Representational state transfer
REST - Representational state transfer
Tricode (part of Dept)
 
RESTful web services using java and spring
RESTful web services using java and spring
Muhammad Junaid Ansari
 
Deploying RDF Linked Data via Virtuoso Universal Server
Deploying RDF Linked Data via Virtuoso Universal Server
rumito
 
Restful web services
Restful web services
Surinder Mehra
 
The never-ending REST API design debate -- Devoxx France 2016
The never-ending REST API design debate -- Devoxx France 2016
Restlet
 
Virtuoso Universal Server Overview
Virtuoso Universal Server Overview
rumito
 
Odata
Odata
Monalisa Patel
 
REST API Design
REST API Design
Devi Kiran G
 
WebLogic Developer Webcast 1: JPA 2.0
WebLogic Developer Webcast 1: JPA 2.0
Jeffrey West
 
How to design a good REST API: Tools, techniques and best practices
How to design a good REST API: Tools, techniques and best practices
WSO2
 
Solving Real Problems Using Linked Data
Solving Real Problems Using Linked Data
rumito
 
Introduction to OData
Introduction to OData
Mindfire Solutions
 
B08 A3pc 90 Diapo Damy En
B08 A3pc 90 Diapo Damy En
Territorial Intelligence
 
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
Mikael Nilsson
 
A Look at OData
A Look at OData
Woodruff Solutions LLC
 
REpresentational State Transfer
REpresentational State Transfer
Vladimir Tsukur
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide database management system 4
Syed Ariful Islam Emon
 
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
Trayan Iliev
 
EAD Revision, EAC-CPF introduction
EAD Revision, EAC-CPF introduction
timothyryan50
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
IRJET Journal
 
Web 13 | REST API
Web 13 | REST API
Mohammad Imam Hossain
 
RESTful APIs in .NET
RESTful APIs in .NET
Greg Sohl
 
Building RESTful Applications with OData
Building RESTful Applications with OData
Todd Anglin
 
JAX-RS 2.0 and OData
JAX-RS 2.0 and OData
Anil Allewar
 
hhtp (3).pptx hyper text transfer protocol
hhtp (3).pptx hyper text transfer protocol
abhinandpk2405
 
HTTP
HTTP
vaibhavrai1993
 

More Related Content

What's hot (20)

The never-ending REST API design debate -- Devoxx France 2016
The never-ending REST API design debate -- Devoxx France 2016
Restlet
 
Virtuoso Universal Server Overview
Virtuoso Universal Server Overview
rumito
 
Odata
Odata
Monalisa Patel
 
REST API Design
REST API Design
Devi Kiran G
 
WebLogic Developer Webcast 1: JPA 2.0
WebLogic Developer Webcast 1: JPA 2.0
Jeffrey West
 
How to design a good REST API: Tools, techniques and best practices
How to design a good REST API: Tools, techniques and best practices
WSO2
 
Solving Real Problems Using Linked Data
Solving Real Problems Using Linked Data
rumito
 
Introduction to OData
Introduction to OData
Mindfire Solutions
 
B08 A3pc 90 Diapo Damy En
B08 A3pc 90 Diapo Damy En
Territorial Intelligence
 
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
Mikael Nilsson
 
A Look at OData
A Look at OData
Woodruff Solutions LLC
 
REpresentational State Transfer
REpresentational State Transfer
Vladimir Tsukur
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide database management system 4
Syed Ariful Islam Emon
 
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
Trayan Iliev
 
EAD Revision, EAC-CPF introduction
EAD Revision, EAC-CPF introduction
timothyryan50
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
IRJET Journal
 
Web 13 | REST API
Web 13 | REST API
Mohammad Imam Hossain
 
RESTful APIs in .NET
RESTful APIs in .NET
Greg Sohl
 
Building RESTful Applications with OData
Building RESTful Applications with OData
Todd Anglin
 
JAX-RS 2.0 and OData
JAX-RS 2.0 and OData
Anil Allewar
 
The never-ending REST API design debate -- Devoxx France 2016
The never-ending REST API design debate -- Devoxx France 2016
Restlet
 
Virtuoso Universal Server Overview
Virtuoso Universal Server Overview
rumito
 
WebLogic Developer Webcast 1: JPA 2.0
WebLogic Developer Webcast 1: JPA 2.0
Jeffrey West
 
How to design a good REST API: Tools, techniques and best practices
How to design a good REST API: Tools, techniques and best practices
WSO2
 
Solving Real Problems Using Linked Data
Solving Real Problems Using Linked Data
rumito
 
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
Mikael Nilsson
 
REpresentational State Transfer
REpresentational State Transfer
Vladimir Tsukur
 
M.sc. engg (ict) admission guide database management system 4
M.sc. engg (ict) admission guide database management system 4
Syed Ariful Islam Emon
 
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
Novelties in Java EE 7: JAX-RS 2.0 + IPT REST HATEOAS Polling Demo @ BGOUG Co...
Trayan Iliev
 
EAD Revision, EAC-CPF introduction
EAD Revision, EAC-CPF introduction
timothyryan50
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
IRJET Journal
 
RESTful APIs in .NET
RESTful APIs in .NET
Greg Sohl
 
Building RESTful Applications with OData
Building RESTful Applications with OData
Todd Anglin
 
JAX-RS 2.0 and OData
JAX-RS 2.0 and OData
Anil Allewar
 

Similar to Rest http basics (20)

hhtp (3).pptx hyper text transfer protocol
hhtp (3).pptx hyper text transfer protocol
abhinandpk2405
 
HTTP
HTTP
vaibhavrai1993
 
Hypertex transfer protocol
Hypertex transfer protocol
wanangwa234
 
Web technology Unit-I Part D - message format
Web technology Unit-I Part D - message format
SSN College of Engineering, Kalavakkam
 
Http
Http
NITT, KAMK
 
Ch2 the application layer protocols_http_3
Ch2 the application layer protocols_http_3
Syed Ariful Islam Emon
 
HTTP
HTTP
MaeEstherMaguadMaralit
 
HTTP fundamentals for developers
HTTP fundamentals for developers
Mario Cardinal
 
Web Services 2009
Web Services 2009
Cathie101
 
Web Services 2009
Web Services 2009
Cathie101
 
The HTTP and Web
The HTTP and Web
Gouasmia Zakaria
 
Introduction to HTTP
Introduction to HTTP
Seble Nigussie
 
web_01_HTTP.ppt
web_01_HTTP.ppt
NIHALKASHINATHSHETYE
 
Http request&response
Http request&response
Aswin Krishnamoorthy
 
HTTP request and response
HTTP request and response
Sahil Agarwal
 
HTTP(Hyper Text Transfer Protocol)
HTTP(Hyper Text Transfer Protocol)
Jyothishmathi Institute of Technology and Science Karimnagar
 
About Http Connection
About Http Connection
Jussi Pohjolainen
 
HTTP
HTTP
bhavanatmithun
 
Http VS. Https
Http VS. Https
Raed Aldahdooh
 
Week3 lec 1
Week3 lec 1
syedhaiderraza
 
Ad

Recently uploaded (20)

Substitution Presentation in Dark Navy and Orange Geometric Style.pptx
Substitution Presentation in Dark Navy and Orange Geometric Style.pptx
hazlienasyiqeen
 
Transformative Storytelling_ Insights from the Sankofa Writing Intensive.pdf
Transformative Storytelling_ Insights from the Sankofa Writing Intensive.pdf
Dr. Rema
 
最新版意大利布雷西亚自由美术学院毕业证(LABA毕业证书)原版定制
最新版意大利布雷西亚自由美术学院毕业证(LABA毕业证书)原版定制
taqyea
 
the sigma cafe a b c d e f g h i j k l i
the sigma cafe a b c d e f g h i j k l i
kamalpavlov
 
Numbers 1 to 100 Circle Flashcard s.pptx
Numbers 1 to 100 Circle Flashcard s.pptx
KarenGimena1
 
3D-IC Design Kits for Drop-in Chiplets MDK, ADK, TDK - 20250121_PreConH_Wong_...
3D-IC Design Kits for Drop-in Chiplets MDK, ADK, TDK - 20250121_PreConH_Wong_...
huyth14
 
AI-Driven-Personalization-in-UX-Designing-for-One-in-a-Million.pdf
AI-Driven-Personalization-in-UX-Designing-for-One-in-a-Million.pdf
Sultan Shalakhti
 
strees management for iuyagvdywyyqwdghuvuy.pptx
strees management for iuyagvdywyyqwdghuvuy.pptx
moonahish27
 
Corneal_Edema_MCQs_with_answes click here
Corneal_Edema_MCQs_with_answes click here
priapria0901
 
Modern Living Room Design in Tokyo,Japan
Modern Living Room Design in Tokyo,Japan
Yantram Animation Studio Corporation
 
Bethany Michels Master of Architecture Thesis 2025
Bethany Michels Master of Architecture Thesis 2025
Bethany Michels
 
The-Future-of-Fashion-in-Singapore-Moushumi-Khara.pdf
The-Future-of-Fashion-in-Singapore-Moushumi-Khara.pdf
The Lifestyle Editor
 
LAVIELACE - Collections portfolio showcase
LAVIELACE - Collections portfolio showcase
Geo Lupascu
 
Bethany Michels Architecture Portfolio.pdf
Bethany Michels Architecture Portfolio.pdf
Bethany Michels
 
research proposal on IDA By dr waleed zaheen.pptx
research proposal on IDA By dr waleed zaheen.pptx
waleedzaheen1
 
Hedgining through financil contracts (1).pptx
Hedgining through financil contracts (1).pptx
icuphamid
 
Smart_Sustainable_Civil_Engineering_PPT.pptx
Smart_Sustainable_Civil_Engineering_PPT.pptx
venkateshreddy0792
 
overview visual graphic design for SHS.pptx
overview visual graphic design for SHS.pptx
KarlVincentNonog
 
Architect list in Bangalore. Architects list in Bangalore.pdf
Architect list in Bangalore. Architects list in Bangalore.pdf
Tejas758706
 
roadsafety_training_manual_unit_1_magnitude_and_impact.ppt
roadsafety_training_manual_unit_1_magnitude_and_impact.ppt
mbkl05cctjv
 
Substitution Presentation in Dark Navy and Orange Geometric Style.pptx
Substitution Presentation in Dark Navy and Orange Geometric Style.pptx
hazlienasyiqeen
 
Transformative Storytelling_ Insights from the Sankofa Writing Intensive.pdf
Transformative Storytelling_ Insights from the Sankofa Writing Intensive.pdf
Dr. Rema
 
最新版意大利布雷西亚自由美术学院毕业证(LABA毕业证书)原版定制
最新版意大利布雷西亚自由美术学院毕业证(LABA毕业证书)原版定制
taqyea
 
the sigma cafe a b c d e f g h i j k l i
the sigma cafe a b c d e f g h i j k l i
kamalpavlov
 
Numbers 1 to 100 Circle Flashcard s.pptx
Numbers 1 to 100 Circle Flashcard s.pptx
KarenGimena1
 
3D-IC Design Kits for Drop-in Chiplets MDK, ADK, TDK - 20250121_PreConH_Wong_...
3D-IC Design Kits for Drop-in Chiplets MDK, ADK, TDK - 20250121_PreConH_Wong_...
huyth14
 
AI-Driven-Personalization-in-UX-Designing-for-One-in-a-Million.pdf
AI-Driven-Personalization-in-UX-Designing-for-One-in-a-Million.pdf
Sultan Shalakhti
 
strees management for iuyagvdywyyqwdghuvuy.pptx
strees management for iuyagvdywyyqwdghuvuy.pptx
moonahish27
 
Corneal_Edema_MCQs_with_answes click here
Corneal_Edema_MCQs_with_answes click here
priapria0901
 
Bethany Michels Master of Architecture Thesis 2025
Bethany Michels Master of Architecture Thesis 2025
Bethany Michels
 
The-Future-of-Fashion-in-Singapore-Moushumi-Khara.pdf
The-Future-of-Fashion-in-Singapore-Moushumi-Khara.pdf
The Lifestyle Editor
 
LAVIELACE - Collections portfolio showcase
LAVIELACE - Collections portfolio showcase
Geo Lupascu
 
Bethany Michels Architecture Portfolio.pdf
Bethany Michels Architecture Portfolio.pdf
Bethany Michels
 
research proposal on IDA By dr waleed zaheen.pptx
research proposal on IDA By dr waleed zaheen.pptx
waleedzaheen1
 
Hedgining through financil contracts (1).pptx
Hedgining through financil contracts (1).pptx
icuphamid
 
Smart_Sustainable_Civil_Engineering_PPT.pptx
Smart_Sustainable_Civil_Engineering_PPT.pptx
venkateshreddy0792
 
overview visual graphic design for SHS.pptx
overview visual graphic design for SHS.pptx
KarlVincentNonog
 
Architect list in Bangalore. Architects list in Bangalore.pdf
Architect list in Bangalore. Architects list in Bangalore.pdf
Tejas758706
 
roadsafety_training_manual_unit_1_magnitude_and_impact.ppt
roadsafety_training_manual_unit_1_magnitude_and_impact.ppt
mbkl05cctjv
 
Ad

Rest http basics

  • 1. Developing RESTful APIs using JAX-RS HTTP MESSAGES
  • 2.  16 years of Industry Experience  Worked in Hughes, HCL India PVT LTD, IBM India PVT LTD, CSC India ( > 4 years) Proficiency  Project managed full life cycle application & product development and run/ maintenance projects  Agile Coach, Certified PMP®, and Certified ITIL® Foundation Associate Passion  Imparting Knowledge through Trainings, webinars, conference & Articles Contact Details Email: [email protected] LinkedIn: https://www.linkedin.com/in/sureshmadhra About Suresh Madhra
  • 4. HTTP Request Message HTTP request message is sent from the client (Brower) to HTTP Web-Server. Request message contain:  location of a resource or resource URI  HTTP method to use when accessing the resource.  Optional request headers (name-value pairs) providing additional information  Request body that identifies additional data to be uploaded to the server (e.g. form parameters, attachments, etc.)
  • 5. HTTP Response Message HTTP response message is sent from HTTP Web-Server back to the client (Web-Browser). Response message contain:  Carry status of processed request.  Provide response headers (name-value pairs) providing additional information about the response  Supplies optional response body that identifies additional data to be downloaded to the server (e.g. html, images, attachments etc.
  • 6. HTTP Request and Response Message
  • 7. HTTP Request/ Response Message Format Request
  • 10. HTTP General Header Request/ Response General Header  Carry information about the HTTP transaction  Can be a part of request, as well as response General Headers
  • 11. HTTP Request Header Request Header  Specific to an HTTP Request  Carry information about the client, and the type of request  Facilitates better understanding between client and server Request Headers
  • 12. HTTP Entity Header Request/ Response Entity Header  Carry information about the content  Mainly part of HTTP Response Entity Headers
  • 13. HTTP Response Status code Response Status Code  Indicate the server’s processed status corresponding to a request  Combination of a numerical code, and a short description