REST APIs use the Status-Line part of an HTTP response message to inform clients of their request’s overarching result. RFC 2616 defines the Status-Line syntax as shown below: Status-Line = HTTP-Version SP Status-Code SP Reason-Phrase CRLF HTTP defines these standard status codes that can be used to convey the results of a client’s request. The […]
Resources
Comparing SOAP vs REST APIs
SOAP – Simple Object Access Protocol – defines a very strongly typed messaging framework that relies heavily on XML and schemas. REST -REpresentational State Transfer – is an architectural style that makes use of existing and widely adopted technologies, specifically HTTP, and does not create any new standards. REST can structure data into XML, YAML, […]
HTTP Methods
REST APIs enable you to develop any kind of web application having all possible CRUD (create, retrieve, update, delete) operations. REST guidelines suggest using a specific HTTP method on a particular type of call made to the server (though technically it is possible to violate this guideline, yet it is highly discouraged). Use below-given information […]
Richardson Maturity Model
Leonard Richardson analyzed a hundred different web service designs and divided them into four categories based on how much they are REST compliant. This model of division of REST services to identify their maturity level – is called Richardson Maturity Model. Richardson used three factors to decide the maturity of a service i.e. URI, HTTP […]