What is an API ?
About
What Makes Up an API?
1. Endpoints
2. HTTP Methods (Verbs)
3. Headers
4. Request Parameters
5. Response
6. Authentication Mechanisms
Why do we need APIs?
1. Separation of Concerns
2. Reusability
3. Security
4. Integration
5. Automation
6. Scalability
How APIs Work ?
Step 1: The Client Sends a Request
Step 2: API Gateway or Server Receives the Request
Step 3: The Application Logic Executes
Step 4: A Response Is Generated
Step 5: Client Receives and Processes the Response
Last updated