Week 9 - Networking and APIs

Introduction to Networking

Client Server Model

TCP/IP Protocol

HTTP Protocol

URL Format

Web APIs

API Testing Tools

Using APIs

AI Responsible Use

Practice

Assignment

Core program

The Client-Server Model

The client-server model is a fundamental design pattern for distributed computing. Here, we will focus on how it is typically used for web applications where it is the interaction pattern used every time someone visits a website or uses an online service.

Let's say you log in to your online bank account:

As the client, you want to see the amount of money you currently have. The browser sends out a request to the server, who then activates the necessary services (in this example, some kind of database) and returns with a response containing the exact amount of money you currently have in the bank.

The Client-Server Model divides roles between two entities:

  1. The Client (The Requester):
  2. The Server (The Provider):

The video below explains it well:

https://www.youtube.com/watch?v=L5BlpPU_muY


The HackYourFuture curriculum is licensed under CC BY-NC-SA 4.0 *https://hackyourfuture.net/*

CC BY-NC-SA 4.0 Icons

Built with ❤️ by the HackYourFuture community · Thank you, contributors

Found a mistake or have a suggestion? Let us know in the feedback form.