Debugging Dreams

Debugging Dreams Seekh raha hoon, bana raha hoon, share kar raha hoon. Code, Projects, and Real-Life Tech Charcha. Har

How a Router Works​The image beautifully illustrates a router's function as a digital traffic controller.​Incoming Data:...
19/09/2025

How a Router Works
​The image beautifully illustrates a router's function as a digital traffic controller.
​Incoming Data: Data from the internet (e.g., a website you're visiting) comes into the router. This data is in small pieces called packets.
​Routing Decision: The router inspects each packet's destination address.
​Forwarding: Based on the address, the router decides where to send the packet.
​Local Network (LAN): If the packet is meant for a device connected by a cable (like the desktop computers in the image), it routes the data to that specific device.
​Wi-Fi Devices: If the packet is for a wireless device (like the laptops and phone), the router broadcasts it as a Wi-Fi signal.
​In essence, the router's internal routing table acts like a map, ensuring all incoming data packets get to the correct device on your network, whether it's wired or wireless.

​The inside scoop on how a router keeps your internet flowing smoothly. A true digital traffic controller for your network! 🌐

Login RequestThe client (user) sends login credentials (username & password) to the server.Token GenerationThe server ve...
17/09/2025

Login Request

The client (user) sends login credentials (username & password) to the server.

Token Generation

The server verifies the credentials.

If valid, the server creates a JWT containing user information (payload), signs it with a secret key, and sends it back to the client.

Client Stores Token

The client stores the JWT (usually in localStorage or sessionStorage).

Authenticated Requests

For every new request, the client sends the JWT in the Authorization header (Bearer ).

Server Verification

The server verifies the token’s signature and validity.

If valid → grants access.

If invalid/expired → denies access.
---------------------------------------------------------
👤: “Hey server, it’s me!”
🖥️: “Proof?”
🎟️: flashes JWT
🖥️: “Alright, you may pass ✅”

😂 That’s basically how JWT works!

🚦 Programming Explained at a GolGappa Stall 🍲Ever wondered what HTTP, GET, and POST really mean? Let’s make it tasty & f...
31/08/2025

🚦 Programming Explained at a GolGappa Stall 🍲

Ever wondered what HTTP, GET, and POST really mean? Let’s make it tasty & funny:

👨‍👩‍👦 Client (Your hungry friends) → come to the stall.
🛣️ HTTP → The road they walk on to reach you.
🙋‍♂️ GET Request → “Bhaiya, ek plate GolGappa do!” (Just asking for data).
🍱 POST Request → “Bhaiya, ye tiffin mein bhar ke do!” (Sending data along with request).
👨‍🍳 Server (You) → The GolGappa wala, fulfilling requests.
🍽️ Response → The plate of GolGappas you serve back.
❌ If no GolGappas left → “404 GolGappa Not Found” 😂

🔥 Moral of the story:

GET = Just ask

POST = Send something + get something back

Server = Always the hero (or villain when stock is over)

💡 Who knew coding could be this delicious? 😋
👉 Like 👍 Share 🔁 & Tag that one friend who eats POST size GolGappas every time!

"Bappa is here to spread love, laughter, and endless blessings! 🌸🐘💫 Let’s celebrate Ganesh Chaturthi with devotion and j...
27/08/2025

"Bappa is here to spread love, laughter, and endless blessings! 🌸🐘💫 Let’s celebrate Ganesh Chaturthi with devotion and joy! 🎉✨ "

Address

Jhajjar
124103

Website

Alerts

Be the first to know and let us send you an email when Debugging Dreams posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share