Respuesta :

Answer:

Web services (web application) are an API type to be accessed via a network connection. While APIs are application interfaces, this means standardized communication between one application and another application.

Explanation:

  • Web service is used for communication with REST, SOAP, and XML-RPC.

        While API for all communication styles is used.

  • The APIs are all web services. Whereas web services are not APIs.
  • The Web application has no lightweight design, needs a SOAP agreement for sending or receiving system information. While the architecture is lightweight, API is useful for gadgets with limited transmission capacities like smartphones.
  • The web application supports the HTTP protocol only. Whereas the API HTTP/s protocol supports: URL Request / Answer Header etc.
  • The web application is not open source, but any customer who contains XML can devour it. While API  is open-source and has a .net framework.