Skip to main content

WHAT IS HTTP ?? HOW HTTP WORKS?

What is HTTP?


HTTP is a protocol. HTTP stands for Hypertext standard protocol. It is defined as a set of rules used for communicating with servers while transmitting any message from client to server.


then, what is HTTPS?


HTTPS is a secure version of HTTP. "s" is Secure in HTTPS. In HTTPS the data sent is encrypted, so that people don't see the message transmitted over the network. By using the secured version the data sent or received is completely encrypted and no one can impersonate it.


When we access a website, our browser sends requests to the server and then the server gives the response in the form of web pages. webpages consist of images, audio, video, html files, and more.


How do we access a website?


When we access a website, the browser sends a request to a web server and downloads the responses. You need to tell the browser specifically from where to access the resources, this is where the URLs help.


URL is a uniform Resource Locator which gives instructions on how to access a resource on the internet.


HTTP methods are a way to send the requests and receive the responses. For example GET, POST, PUT, and DELETE are the methods used in retrieving the information.


If the specific pages are not loaded then a error code is displayed on the browser. The code is known as an error code or HTTP Status code.


A few HTTP status codes are below


500-599 - Server Errors - errors happening on the server side and indicate a major problem with the server handling the request.


200 - OK - a request was completed successfully.


400 - Bad Request - This tells the browser that something was missing in their request. When the client didn't send some parameter then this error would happen.


503 - Service Unavailable - Down for maintenance, or the server cannot handle your request as it is overloaded


201 - Created - A resource has been created, any blog, a new user might be created


404 - Page Not Found - The requested resource does not exist.


Browser Headers

Headers are bits of data you can send to the web server when making requests. Common Request Headers are Host, User-Agent, Content-Length, Accept-Encoding, Cookie, Set-Cookie, Cache-Control, Content-Type, Content-Encoding.


You have heard of cookies, a small piece of data that is stored on your computer. Cookies can be used for many purposes but are mostly used for website authentication. you can delete your cookies whenever delete the browser history.

Comments

Popular posts from this blog

Attacks that are happening in our daily lives!!!

Lets see Few more attacks that are happening in our daily lives but are unaware about it . Social engineering is a term we are hearing now a days a  lot. But  what is it?  Social engineering is a technique which is aimed to target a victim to reveal the information or performing some illegitimate tasks for his benefits. It is like psychological manipulation for the performing actions. Lets see few techniques with examples below Phishing refers to a technique of fraudulently obtain the private information. It is an attack to steal your money, by getting to know about the personal information by the person. Example : The e-mail which gets especially in festival times usually contains a link to a fraudulent web page that seems legitimate—with company logos and content—and has a form requesting everything from a home address to an ATM card's PIN or a credit card number. Vishing also known as " voice phishing ", is again the same practice of revealing the information over a ...

What is Malware?

What is Malware? Malware is any software intentionally designed to cause disruption to a computer, server, client, or computer network, leak private information, gain unauthorized access to information or systems, deprive access to information, or which unknowingly interferes with the user's computer security and privacy. Few are listed Below A computer virus is a type of computer program that, when executed, replicates itself by modifying other computer programs and inserting its own code into those programs. It infect other computer without the permission or knowledge of the user. Virus may corrupt the system or can steal any data. A worm is a stand-alone malware software that actively transmits itself over a network to infect other computers and can copy itself without infecting files.  A backdoor is a computer program that allows an attacker to gain unauthorized remote access to a victim's machine often without their knowledge. A Trojan horse is any malware that misleads ...

What are SSL and TLS?? What is the difference between SSL and TLS??

What are SSL and TLS?? What is the difference between SSL and TLS?? What is SSL? SSL (Secure Sockets Layer) is networking protocols which helps in securing the network. Transport Layer Security (TLS)  is the upgrade version of SSL. SSL is a digital document that secure the identity of any website. Basically it encrypts the data by using cryptographic key pairs which consists of public and private key. The public key is present in the certificate and allows the web browser to start off the communication given to the server. The private key is on the server and is used to digitally retrieve or sign the web pages and other files such as images, videos, scripting files. In SSL certificate we can see much information also which includes identifying information about the website, its domain name and identifying information about the site's owner. We could also see expiry information, serial number, company issued also about the certificates. To keep the website secure one should buy the...