Client
Në shqip: Klient
ShpjegimiSQ
Klienti është pajisja ose programi që i kërkon diçka serverit — zakonisht shfletuesi yt ose një aplikacion në telefon. Klienti pyet, serveri përgjigjet.
EnglishEN
The client is the device or program that asks a server for something — usually your browser or a phone app. The client asks, the server answers.
Si ta mendosh
Si klienti në kafene: ulet, porosit një makiato dhe pret. Kafen nuk e bën vetë — e kërkon dhe e merr.
Lexoje në anglisht
Like a customer in a café: they sit down, order a macchiato and wait. They don't make the coffee themselves — they ask for it and receive it.
Shembull kodijavascript
// Shfletuesi (klienti) i kërkon diçka serverit:
fetch("https://api.example.com/menyja")
.then((pergjigja) => pergjigja.json())
.then((menyja) => console.log(menyja));