6 REST AND GRAPHQL APIS

An API is a generic pattern used to connect computers or computer programs. Unlike a user interface, it’s designed to be accessed not by a user but by another piece of software. One purpose of APIs is to hide the internal details of a system’s workings while exposing a standardized gateway to the system’s data or functionality.

As a full-stack developer, you’ll usually interact with, or consume, two kinds of APIs: internal and third-party. When querying an internal API, you’re consuming data from your own systems, typically from your own database or service. Private APIs are not available to outside parties. For example, ...

Get The Complete Developer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.