{"id":497880,"date":"2022-10-02T16:00:16","date_gmt":"2022-10-02T13:00:16","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/what-is-http\/"},"modified":"2022-10-02T16:00:16","modified_gmt":"2022-10-02T13:00:16","slug":"what-is-http","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/what-is-http\/","title":{"rendered":"#What Is HTTP?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a3a7a979b3e1\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a3a7a979b3e1\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-http\/#%E2%80%9CWhat_Is_HTTP%E2%80%9C\" >&#8220;What Is HTTP?&#8220;<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-http\/#HTTP_The_Short_Version\" >HTTP: The Short Version<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-http\/#How_HTTP_Works_In_a_Nutshell\" >How HTTP Works In a Nutshell<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-http\/#Breaking_Down_HTTP_Requests\" >Breaking Down HTTP Requests<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-http\/#HTTP_Responses\" >HTTP Responses<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-http\/#HTTP_Security\" >HTTP Security<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E2%80%9CWhat_Is_HTTP%E2%80%9C\"><\/span>&#8220;<a aria-label=\"What Is HTTP?\" title=\"What Is HTTP?\" href=\"https:\/\/www.howtogeek.com\/833465\/what-is-http\/\">What Is HTTP?<\/a>&#8220;<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>\n<figure style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage size-full wp-image-836150\" data-pagespeed-no-defer=\"\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/shutterstock_152268422-2.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Closeup of a computer screen showing the beginning of a URL in a browser address bar.\" width=\"1200\" height=\"675\"\/><figcaption class=\"wp-caption-text\"><span class=\"type:primaryImage imagecredit\"><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.shutterstock.com\/image-photo\/closeup-computer-screen-favicon-url-address-152268422\">JMiks\/Shutterstock.com<\/a><\/span><\/figcaption><\/figure>\n<p>If you have a really sharp eye when looking at web addresses in your browser\u2019s top bar, you\u2019ll probably have noticed the very first part of any website\u2019s address, the letters \u201cHTTP\u201d or \u201cHTTPS.\u201d What is HTTP, though, and how does it work? Let\u2019s take a look at the glue that keeps the web together.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"HTTP_The_Short_Version\"><\/span>HTTP: The Short Version<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>HTTP is an acronym and stands for <strong>h<\/strong>yper<strong>t<\/strong>ext <strong>t<\/strong>ransfer <strong>p<\/strong>rotocol. Let\u2019s break that down a bit, starting with the \u201cprotocol\u201d part. In tech, a protocol is the set of rules machines need to abide by to \u201ctalk\u201d to each other. For example, VPN protocols determine how VPNs interact with servers. HTTP is a lot less specific than that, and instead sets the rules for how the internet works.<\/p>\n<p>This is no exaggeration. Without HTTP, there\u2019d be no communication over the world wide web. This is because HTTP governs the communication between web servers and web clients\u2014the \u201ctransfer\u201d part. Web servers are where you connect to so you can view sites; for example, you\u2019re currently in contact with the web server of How-to Geek so you can read this article.<\/p>\n<p>To access a web server, you need a web client. Most of the time, this client is your browser, but it can be any kind of <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>, really. For example, if you clicked through to this article from the <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/social-mediaa\/\" data-internallinksmanager029f6b8e52c=\"1\" title=\"Social Media\" target=\"_blank\" rel=\"noopener\">Facebook<\/a> mobile app, then Facebook\u2019s in-app browser is your web client. The client-server interaction is pretty much what the whole internet boils down to, and HTTP is integral to that.<\/p>\n<p>The final part of the HTTP acronym is the \u201chypertext\u201d part, which is the type of files being transmitted, almost always through HTML files. These types of files are the building blocks of the web since they don\u2019t just display language, they can also be interlinked. This is different from the kinds of files you have on your device, which usually can\u2019t do that.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"How_HTTP_Works_In_a_Nutshell\"><\/span>How HTTP Works In a Nutshell<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>HTTP is a protocol that runs on the so-called application layer of the internet, above the internet layer, where the real nuts and bolts of the web are like IP addresses. The application layer is where you\u2019ll find the browsers and apps that you use every day, and HTTP is very much a part of that.<\/p>\n<p>How it works is that your browser, the client, will send an HTTP request over the network, which is processed by the server of the site you want to access. The site then sends back an HTTP response, which is\u2014if everything went well\u2014the page you wanted to see. The browser then displays the response.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Breaking_Down_HTTP_Requests\"><\/span>Breaking Down HTTP Requests<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Of course, there\u2019s a little more to it than that. An HTTP request is actually made up of several parts, each of which plays an important part in how the site is displayed. Among the most important parts of any request are the HTTP method, the request headers, and the request body.<\/p>\n<p>The method is usually the action HTTP is being asked to perform, so retrieving information or supplying it (the \u201cGET\u201d and \u201cPOST\u201d commands, respectively, though there are plenty of others). The HTML request headers are a little harder to explain, but think of them as envelopes: each one contains the address of where it\u2019s going, the address of the sender, plus a whole bunch of other information, like the type of postbox (browser) and also information about encryption.<\/p>\n<p>The HTML body \u201cfills\u201d the envelope up with information like login information, or anything else that the server needs to know to display the page; sometimes it\u2019s empty and the envelope, the request header, is enough.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"HTTP_Responses\"><\/span>HTTP Responses<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>With the request received, the web server now starts to work on its response, which is also made up of three parts: the HTTP status code, the response header, and the response body. The header and body are much like their counterparts in requests, except that the body will contain a lot more information going back, like the files carrying the information to display a webpage.<\/p>\n<p>The status codes are an interesting touch, since we\u2019ve likely all encountered them without realizing what they were. They\u2019re three digits that can start with numbers 1 through 5. Each <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/watch-movies-tv-seriess\/\" data-internallinksmanager029f6b8e52c=\"8\" title=\"Watch Movies &amp; TV Series\" target=\"_blank\" rel=\"noopener\">series<\/a> stands for something. So any three-digit code starting with 2 means success (the page is displayed without problems), while one starting with 4 means an error, like the infamous 404: page not found code.<\/p>\n<p>This call-and-response system is the basis for everything we do on the internet. Though it gets more complicated than we describe above, this covers the basics. Of course, there is the issue of how all this communication is kept safe.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"HTTP_Security\"><\/span>HTTP Security<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This is where we run into the problem with HTTP: at no point is any of the information being encrypted or protected in any way. It\u2019s purely request-and-receive, there\u2019s no step where security is added. Anybody that is able to intercept messages can see what\u2019s being sent, which includes things like credit card numbers or account information.<\/p>\n<p>In a way, it\u2019s like when you\u2019re talking to a neighbor over the fence that separates your properties: you\u2019re each in your own zone, but if anybody stands close enough, they can hear every word you\u2019re saying.<\/p>\n<p>As you can imagine, this is extremely bad <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/news\/\" data-internallinksmanager029f6b8e52c=\"2\" title=\"News\" target=\"_blank\" rel=\"noopener\">news<\/a> for most internet users, and incredibly good news for the people that prey on them. To fix this, a new type of HTTP was rolled out, called HTTPS, where the final \u201cS\u201d stands for \u201csecure.\u201d This type of HTTP does encrypt information, making it a lot harder for anybody to listen in, so to speak.<\/p>\n<p>Currently, it\u2019s becoming less and less common to see what\u2019s being called \u201cplain\u201d HTTP anywhere as over the past few years almost every site worth mentioning has moved over to HTTPS. There are some that\u2014for reasons that vary depending on the site owner\u2014have resisted this change. You may want to shy away from them, or at least use a VPN to safeguard any sensitive information.<\/p>\n<p>That said, though HTTPS is definitely a vital upgrade, that\u2019s all it is, an upgrade. HTTP has been powering the internet since it started, and we doubt that will change any time soon.<\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/833465\/what-is-http\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;What Is HTTP?&#8220; JMiks\/Shutterstock.com If you have a really sharp eye when looking at web addresses in your browser\u2019s top bar, you\u2019ll probably have noticed the very first part of any website\u2019s address, the letters \u201cHTTP\u201d or \u201cHTTPS.\u201d What is HTTP, though, and how does it work? Let\u2019s take a look at the glue that&#8230;<\/p>\n","protected":false},"author":1,"featured_media":497881,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2022\/09\/shutterstock_152268422-2.jpg?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-497880","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/497880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=497880"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/497880\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/497881"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=497880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=497880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=497880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}