What is an API?

An API (the full form is Application Programming Interface) is a contract (or specification) promised by the software which it will honor if other software wants to interact with it for performing business operations.

‘q’ Parameter in HTTP ‘Accept’ Header

Sometimes client may want to set their preferences when requesting multiple MIME types. To set this preference, q parameter (relative quality factor) is used in HTTP Accept header.

REST API – N+1 Problem

In case of web APIs, N+1 problem is a situation where client applications are required to call the server N+1 times to fetch 1 collection resource + N client resources, mostly because of collection resource not had enough information about child resources to build it’s user interface complete.


This has been observed that many people struggle to choose between HTTP PUT and HTTP POST methods when designing a system. Though, RFC 2616 has …