Unique Words Used in Tech World 1.0
As programmers, we love to give things fancy names, but sometimes these terms can be difficult to understand. In this blog, we'll explore one of these
What is HTTP?
Have you ever wondered about the text that appears in the browser's search box, known as the URL? (Yes, "URL" is another fancy word that we'll discuss in a future blog). For now, let's focus on a common part of the URL: the https:// you see at the beginning of most website addresses.
The https:// prefix indicates a secure version of HTTP called HTTPS. To understand HTTPS, we first need to learn about HTTP. Let’s use a real-world example to make it simple.
Sharing Notes with Your Friend
As you see the image more Fancy Word let’s uderstand them one by one
In Image you can see that Rohan is requesting the Notes for ___ Subject From Ravi Whenever someone send Request for anything in Tech World they are called Client and the one receive and process the Request are called Server.
Now Ravi check that if he have notes form the ___ Subject and if he have the notes than he Share a Response back to Rohan with Notes.PDF.
So this is Client Server Architecture Why we studied this wait a min you will know
HTTP(Hypertext Transfer Protocol)
Hypertext
The Notes are Hypertext in this case Hypertext means any Information are Text which contenins links to other Documents or Website
Transfer
From Rohan to Ravi the request is being transferred that Rohan Want Notes for ___ Subject then the response is being transferred from Ravi to Rohan Which Contain Notes
Request have Two Part
Request.Header and Requset.Body
Request.Header
It Contains all the data about Who is sending the request,which Type of request it is and May other things
Request.Body
It Contains all the data about what request is acullty for
Response.Header
It Contains all the data about if requset is recived,Data is found are or not and Error Codes etc.
Response.Body
It Contains all the data Client Requsted
Protocol
Protocols are set of predefined rules for the Infromation being transfered by HTTP Think for a moment if there are no rules rohan ask for notes and he don’t receive any Response or Confirmation that Request is Recived or Notes are not available etc.
So to tackle these kind of things Programers wrote some predefined rules for HTTP if we take real world example of rules it will be like
The Notes should be in Good Headwriting so everybody can read them
There should be a response to every request Like when you search for Any website and you recive 404(These are the Error Codes used in Response.header one more Fancy Word) Page not Found it is also a response.
That’s all for today will study more topics in Future
Thank You For Reading blog upcoming topics are
TCP,UDP,DNS Resolution,URL,OSI Layer and Many More