terminology – What is WEB API?

Question:

I'm already confused and I have a bunch of questions:

  1. What definition can be given for the WEB API and why is it needed?

  2. Is it possible to say that if the server returns JSON content in response to a POST or GET request, then this is my WEB API?

  3. Are web services like WCF, WEP API?

Answer:

  1. What definition can be given for the WEB API and why is it needed?

Web API is an application programming interface for a web server or web browser. This is a web development concept, usually limited to the client side of a web application (including any web frameworks in use) and therefore usually does not include web server or browser implementation details such as SAPI or API unless they are shared remotely web application.

A web server API is a programming interface that consists of one or more public endpoints for a specific request-response message system, usually expressed in JSON or XML, that is exposed over the Internet – most often through an HTTP web server.

Hybrid apps are web apps that combine the use of multiple server-side web APIs.

Webhooks are server-side web APIs that take input as a uniform resource identifier (URI) that is intended to be used as a remote named pipe or callback type so that the server acts as a client to dereference the provided URI and fire an event on another server that handles this event, thereby providing a peer-to-peer IPC type.

  1. Is it possible to say that if the server returns JSON content in response to a POST or GET request, then this is my WEB API?

Yes

  1. Are web services like WCF, WEP API?

WCF and ASP.NET Web API is a framework / library with which you can organize the work of the WEB-API in your application.

Scroll to Top