The Internet Needed a Common Language
But wait.
How does the browser even say, show me the products ?
Does it send English? Hindi? Morse code? Carrier pigeons? 🕊️
No.
The internet has a language.
It’s called HTTP.
Think of HTTP as restaurant etiquette. Imagine walking into McDonald’s.
Instead of ordering Burger, you say :
One McAloo Tikki meal.🍔
Large fries.🍟
Coke.🧋
Takeaway.📦
Everything follows a format. HTTP does exactly that.
It tells browsers: here’s how you ask nicely.
And servers: here’s how you’re supposed to answer.
HTTP defines the request format, response format, methods, headers, URLs, and status codes so both sides follow the same rulebook.
The internet has five favourite verbs.
- GET : I’m just looking.
- POST : I’m sending something.
- PUT : Replace everything.
- PATCH : Just change this one thing.
- DELETE : Adios.
Congratulations.
You now know 80% of the HTTP methods you’ll use daily.
🧠 So far…
✅ Browser asks.
✅ Server answers.
✅ HTTP keeps everyone civilised.
The browser finally knows how to talk.
But wait 🫷
We still have a small problem.
Java has absolutely no idea what HTTP means.
Let's decode this in the next one. Stay tuned!
Top comments (0)