Rest Services
REST Services Introduction REpresentational State Transfer protocol. Built around things or resources - Resource based. Nouns vs actions. REST services are not action based though HTTP verbs being used to perform different operations on the same resource. Resource are identified by a URI. Multiple URIs may refer the same resource. Client and server communication. JSON or XML is used to pass data. Lightweight, scalable and maintainable. ● HTTP Verbs ● Constraints Uniform interface Based on the HTTP specification. URIs refers to resources and HTTP verbs are actions performed on resources. HTTP verbs (GET, PUT, POST, DELETE). URIs (resource). HTTP request (header, body, query parameters and URI) and response (header/status and body). Use hypermedia to better navigation through resources (HATEOAS - Hypermedia As The Engine Of Application State). Use links for retrieval of related resources. Stateless No client state on the server. Self cont...