Introduction to RESTful Services





In this article, I gave a brief introduction to RESTful Services.Let’s begin with the client server architecture. Most applications these days follow this architecture. The communication between client and server happen using HTTP protocol. On the server we expose a bunch of services that are accessible via the HTTP protocol. The client can directly call the services by sending HTTP request. 
Now this is where REST comes in to the picture.REST or REpresentational State Transfer is a simple architectural pattern for develop web Services.

According to Wikipedia REST “is a programming architectural implementation intended to increase the efficiency of communication in computing systems. It embodies the idea that the best way to share large amounts of data between multiple parties is to make that data available on-demand by sharing references to that data rather than a complete copy of the data itself.”
Here we use simple HTTP protocol principles to provide support to create, read update and delete data. 

RESTful services are REST based web services. Which are platform and language independent.These services follow 5 principles which describe how the RESTful services should behave.
  •      Uniform interface
  •      Stateless
  •      Cacheable
  •      Client-Server
  •      Layered System


Comments

Popular posts from this blog

Consuming API from web application using OAuth 2.0

Simple REST API using Node,Express and MongoDB

Create a basic web Server using express