RESTful Services
RESTful web services are basically REST architecture based web services. In REST architecture everything is a resource, RESTful web services are light weight, highly scalable, maintainable and very commonly used to create APIs for web-based applications.
What is REST Architecture?
REST stands for Representational State Transfer, a term contained by Roy Fielding in 2000. It's an architecture design for designing loosely coupled applications over HTTP, That is often used in the development of web services. REST doesn't enforce any rule regarding how it should be implemented at lower level, it just put high level design guidelines.
REST defines 6 architectural constraints which make any web service a true RESTful API
- Uniform Interface
- Client-server
- Stateless
- Cacheable
- Layered System
- Code on Demand
References:
https://restfulapi.net/rest-architectural-constraints/
https://www.tutorialspoint.com/restful/index.htm
HTTP Messages
HTTP messages are how data exchanged between server and client. There are two types of messages that are Requests and Responses.
HTTP messages are composed of textual information encoded in ASCII, and span over the multiple lines.
Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Messages
HTTP Verbs
Reference:
https://www.tutorialspoint.com/http/http_methods.htm
No comments:
Post a Comment