CORS

Cross origin resource sharing CORS

Cross-Origin Resource Sharing or CORS is a mechanism that enables a web browser to perform cross-domain requests. Cross-domain requests are HTTP requests for resources hosted on a different domain than the domain of the resource making the request....

July 10, 2017 · (updated February 5, 2024) · 7 min · Pradeep Loganathan
Representational State Transfer - REST

REST - Identifying Resources and URI design.

The key parts of a Resource oriented architecture (REST architecture) are resources, identifiers, representations, and the links between them. There is no exact science to identifying resources and there is no right or wrong with resources identified.In this post we will look at best practices to do so....

December 14, 2016 · (updated December 25, 2023) · 5 min · Pradeep Loganathan

Richardson's Maturity Model

Richardson’s Maturity Model breaks down the journey towards building a truly RESTful API into levels, each adding more constraints and adhering more closely to REST principles....

October 21, 2016 · (updated February 5, 2024) · 3 min · Pradeep Loganathan
REST constraints

REST architectural constraints

REST defines six architectural constraints which make any web service – a truly RESTful API. These are also called as Fielding’s constraints. They generalize the Web’s architectural principles and represent them as a framework of constraints or an architectural style....

October 19, 2016 · (updated February 5, 2024) · 5 min · Pradeep Loganathan
Rest - Idempotency and Safety

Rest - Idempotency and Safety

Implementing the REST architectural principles results in the both Idempotency and safety being incorporated into the system. This is not however not completely automatic and needs to be thought through in detail....

October 19, 2016 · (updated February 5, 2024) · 7 min · Pradeep Loganathan
Rest API- Communicating with Verbs and status codes

Rest API- Communicating with Verbs and status codes

REST API’s have a very rich vocabulary to communicate a variety of statuses and results. The verbs put, post, update, get and others are used to indicate the action that must be performed. The status indicate the result of the actions performed by the verbs....

September 20, 2016 · (updated February 5, 2024) · 12 min · Pradeep Loganathan
Representational State Transfer - REST

Demystifying REST: How API-First Design is Redefining Web Interactions

Rest is a client server communication model which is stateless, resource based, and Idempotent....

September 18, 2016 · (updated February 9, 2024) · 8 min · Pradeep Loganathan