Choorai

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

  1. Browser calls /api/v1/projects
  2. Server handles the request
  3. Server returns JSON with status code
  4. 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: February 22, 2026 · Version: v0.0.1

Send Feedback

Opens a new issue page with your message.

Open GitHub Issue