You are here: Ultra Guide>Testing Web>ApIDefined (24 Jul 2020, FredLogan)Edit AttachTags

Application Programming Interface (API) Defined

Application Programming Interface (API):

  • Code that allows applications to communicate with one another.
  • It is NOT the database or even the server, it is the code that governs the access point(s) for the server.
  • They allow allow access to data from outside sources, for example:
    • An API request can be sent detailing the information we want.
    • APIs also allow sites to alter data on other applications. For instance “Share on Facebook” or “Share on Twitter” buttons allow the site you’re visiting to communicate with your Facebook or Twitter account, and alter its data by adding new status or tweet. [1]

API Diagram [1]:

A user is interacting with a web app in a browser. The user activates something on that page that sends a request to an API. The API is an access point through which a user can have access to a database then a response is sent back to the web app.

Notes on API:

MDN web docs on API: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Introduction

Resource(s):


Topic revision: r2 - 24 Jul 2020, FredLogan
© 2020 Ultranauts - 75 Broad Street, 2nd Floor, Suite 206, New York, NY 10004 - info@ultranauts.co