RESTful Web Services : Exposing The APIs With Rest Services
RESTful Web Services: Exposing The APIs With Rest Services Being in the world of Web Development, one might come along the concept known as REST Web API. First, let me introduce to you the Client-Server Architecture. Most of the applications, if not all, use this architect these days. The app itself is the client or the front end part, has to talk to server or the back-end part to get or save the data. This communication happens using the HTTP Protocol, the same protocol that powers our web. Under server, we expose a bunch of services that are accessible via the HTTP Protocol. The client can then directly call the services by sending HTTP Request. Then the REST comes into the picture. REST (REpresentational State Transfer) is basically a convention for building these HTTP services. Use simple HTTP Protocol Principles to Create/Read/Update/Delete (CRUD operations) the data (called as Resources). HTTP Methods 1. GET =...