Understanding APIs The Bridge Between Software Systems
Understanding APIs The Bridge Between Software Systems
by Group 2
What is an API?
Communication Service Contract
Bridge
Acts as a contract between
APIs enable two software applications, defining how they
components to communicate exchange requests and
using defined protocols. responses.
Documentation
Contains information on how developers structure requests and responses.
How APIs Work
REST APIs
Most popular web APIs today. Use HTTP methods like GET, PUT, DELETE to access server
data.
WebSocket APIs
Support two-way communication between client and server. More efficient than REST for
real-time data.
RPC APIs
Remote Procedure Calls execute functions on servers and return outputs to clients.
REST APIs Explained
Stateless HTTP-Based
Servers don't save client data between requests. Uses standard HTTP methods for
communication.
Expansion
Meet client needs across different platforms and devices.
Integration
Connect new applications with existing systems efficiently.
Easy Maintenance
Changes to internal systems don't impact external interfaces.
API Security Essentials
API Keys
Verify the program making the API call.
Authentication Tokens
Authorize users and verify access rights.
API Gateways
Manage authentication, statistics, and rate limiting.
Creating an API
Plan the API
Create specifications and blueprints for your API design.