HTTP/API Basics
Learn how frontend and backend communicate, with practical terms used in real projects.
Core five terms
- Endpoint: URL path where an API receives requests
- Method: Request action like GET/POST/PUT/DELETE
- Request/Response: Input payload and server output
- Status Code: Numeric result like 200, 400, 500
- JSON: Common data exchange format
One request flow
- Browser calls
/api/v1/projects - Server handles the request
- Server returns JSON with status code
- Frontend renders the response
Quick status code reading
200: OK 201: Created 400: Bad request 401/403: Auth/permission issue 500: Server error
Last updated: October 7, 2026 · Version: v0.0.1