RESTful web services are web services based on the REST, or REpresentational State Transfer, architecture. REST architecture is a web standard that specifies a set of constraints. REST treats every component (data and functionality) as a resource that can be accessed using standard methods. Due to this standardization, RESTful web services provide interoperability across computer systems on the Internet as well as other desirable properties like performance, scalability, and modifiability.
RESTful web services use
RESTful applications follow these principles:
Let’s consider an example of a web service that provides weather information using the REST architectural style.
The web service server provides a REST interface and a weather resource that has the URI, /service/weather
.
The client makes an HTTP POST request in JSON format to get the weather for the city of Paris. The server responds with an HTTP POST response JSON object that has the weather information.
Free Resources