RESTful Web Services - Part1
RESTful Web Services - Part1
Lecture
Mr Shehzad Jaunbuccus
University of Mauritius
Email: [email protected]
Overview
» Definition of REST.
» RESTful URIs
» Data Representation.
» Operation on resources.
2
REST (REpresentational State Transfer)
What is REST?
REST is a set of principles which guide the transfer of data in
a meaningful, elegant and efficient manner.
5
RESTful URIs
RESTful services use very descriptive URIs (URLs)
Users can have an idea about the data to operate on just by looking at
the URL of a RESTful service.
E.g. The URL to request details concerning the experience of lecturers
for a particular module (CSE1023Y) might look like the URL below:
http://www.shehzad.edu/LecturerExperience/CSE1023Y
7
SOAP Web Service (Data transmission)
11
RESTful Web Service (Data transmission thru’ JSON)
14
References
15