what is an api

What is an API?

An API (Application Programming Interface) is a contract (or specification) promised by the software that it will honor if other software wants to interact with it.

FAQs

N+1 Problem in REST API

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.

FAQs

HTTP PUT vs. POST

Use PUT when modifying a resource that is already a part of resource collection. Use POST when adding a child resource to the collection.