API

An application programming interface (API) is a set of specifications that allows software programs to interact. Web applications typically conform to a client-server architecture with an API to connect the "client" to the "server." In a nutshell,

  • a client requests some data,
  • that data travels to a web server application over the HyperText Transfer Protocol (HTTP),
  • the web-server application takes the requests and processes the data,
  • and the data is then sent to the client over HTTP.

In this chapter, we'll explore the concepts and terminology behind web APIs.

Here are some other resources you might find helpful: