WHAT IS REST API? www.edureka.co FEATURES OF REST API METHODS OF REST API PRINCIPLES OF REST API HOW TO IMPLEMENT REST API?
www.edureka.co
www.edureka.co Request Response HTMLPage is Sent in Response Server
www.edureka.co Response Server Request HTML Page www.edureka.co
Response Server Request Returns Data XML FormatJSON Format www.edureka.co
Returns Data XML FormatJSON Format <city> <movies> <category>coming soon</category> </movies> </city> {“city”:{ “movies”:{ “category“: "coming soon” } } } www.edureka.co
Request Response Server You need to put in a lot of methods (Request Object, Response Object) to retrieve the data. www.edureka.co
www.edureka.co
Create an object on the server side and return the values of an object www.edureka.co
presentational tate ransfer Object • City • Movie Name • Place • Timing Send the state of an Object www.edureka.co
Itisanarchitecturalstyleaswellasanapproachforcommunicationspurposethat isoftenusedinvariouswebservicesdevelopment presentational tate ransfer Itisoftenregardedasthe“language of the internet” Itisastatelessclientandservermodel www.edureka.co
www.edureka.co
SimplerthanSOAP Documentation Errormessages www.edureka.co
www.edureka.co
ClientServer UniformInterface Cacheable LayeredSystem CodeonDemand Stateless www.edureka.co
www.edureka.co
Create Read Update Delete https://in.bookmyshow.com/noida/movies www.edureka.co
Create Read Update Delete POST GET PUT DELETEwww.edureka.co
POST PUTGET DELETE www.edureka.co
www.edureka.co
Copyright © 2017, edureka and/or its affiliates. All rights reserved. www.edureka.co
www.edureka.co

What is REST API? REST API Concepts and Examples | Edureka