In 'client and server', what is a client?
Options
- The person who pays for the software that is being built
- Whoever starts a request: a browser, an app or another program (Correct option)
- The database in which the data of the system is stored
- The operating system that runs on the server machine
Answer
Whoever starts a request: a browser, a phone app, or even another program
Why
The client asks, the server answers.
Your browser is a client when it requests a web page. A mobile app is a client when it asks the backend for your orders. A backend can also be a client of another service.
In HTTP, the client always starts the conversation and the server answers.
Remember
Client = the one who sends the request.