in Technology by (1.9m points)

Explain in brief the different types of output observed of an API.

1 Answer

0 votes
by (1.9m points)

API is considered as the essential connecting part of this digital world. It basically resides in the business logic layer where it performs functions like processing commands, application coordination, initiates logical decisions, etc.

The main consideration is returning correct results under any type of conditions. Mainly, the output or results observed of an API are divided into three sections as follows:

  • Returning the result status values as ‘Pass’ or ‘Fail’.
  • Result as data or any specific information.
  • An event where the call to any API function will initiate the call to another API function.