RESTful WebServices
Nowadays, people new to Software Developement hear the term REST Service or REST API very often but still couldn't ask or get a deep insight into what they exactly are. Let's cover that here. Normally two computers (usually one is client and other is server) communicate using HTTP protocol where client sends a request in Browser to server and Server responds with some data embedded in HTML Page. If client itself is a server for other clients, and it wants to use the data of the response from the first server, it can't utilise it from HTML Page. So Here comes web services which allows server to send just data. The web services can be either REST services which we will talk about or SOAP Web services, which are not so popular nowadays and aren't discussed here. Restful Webservice is a service which is built on the REST architecture. REST stands for Representational State Transfer. Note: Api and Rest are used interchangeably. API stands for Application Program In...