Skip to content

Kenan YAMAN

Dışı tekniker, içi yazılımcı

Menu
Menu

What are HTTP Methods?

Posted on 29 October 202023 January 2021 by Kenan

In today’s article, we will look at the website requests that we use frequently during the day but do not pay much attention to the background. When we go to our computer, we visit many websites, whether for business or a research, this occurs when we need to communicate with the site during our visits. Well, have you ever wondered how this communication happened? Let’s take a look together.[baglanti_kare][space]

Content:
  1. What is http?
  2. What about Http Methods?
    • What is the get method?
    • What is the post method?
    • What is the put method?
    • What is the head method?
    • What is the delete method?
  3. Resources:

What is http?

First, let’s take a look at the http concept. HTTP, which is short for Hyper Text Transfer Protocol, was first published in 1991 with the v0.9 version. When we come to 2018, it continues to develop with v3.0.

YılHTTP versiyonu
19910.9
19961.0
19971.1
20152.0
20183.0
HTTP versiyon tablosu

It works as a request-response protocol between client and server. In other words, when you make a request to a site (client), it transmits the data corresponding to your request by the server in response to you. It acts as a bridge between server and client.

Today, the safer version is frequently used as Https. We see this in abundance on e-commerce sites or websites that allow online payments.

The letter s at the end comes from the English security word security. Here, the information is encrypted while being transferred.

What about Http Methods?

I mentioned that Http acts as a bridge between the server and the client. There are several methods used when fulfilling requests. Let’s take a closer look at them.

What is the get method?

We request information from the server with the get method. One of the most common HTTP methods, fast but not secure. When we make a request with the get method, we can clearly view this request on the browser, which causes major security problems.

http:kenanyaman.com/test/demo_form.php?name1=value1&name2=value2

If we assume that there are two fields on our site and we receive data from these fields, we will see such an image in the address line of the browser we use.

If we use the Post method, which is a safer way, instead, the data we send will not be displayed in the address line and we will have a healthier communication.[yazi_ici_goruntu][space]

What is the post method?

Get and Post methods are the two most commonly used Http methods. Since the information is transmitted clearly in the get engine, the Post method is used for user transactions or transactions that must be confidential.

When we use the Post method, the requests we make are sent through the browser in secret.

POST /test/demo_form.php HTTP/1.1
Host: kenanyaman.com
name1=value1&name2=value2

The information to be sent with the Post method is included in the body of the message, so no information is displayed on the url address. When you want to go to the previous page after filling out a form on a site, we will see a warning. This is due to the fact that you do not want to upload the information sent to the server repeatedly with the Post method.

What is the put method?

It is used to send data on the requested server. In this respect, it is similar to get and post. The difference with Post is that when we make a request using the Put method, we always return the same result. When we use post, we repeat a certain process continuously. For example, we can provide a data entry in a form field with a continuous post, every time we make a request, we send the same data over and over again. There will be no change in the put method.

What is the head method?

It is the same as the get method, only there is no response body in the request. It is a method used if we request the title rather than its content on the server we request.

What is the delete method?

With this method, you can delete data on the server. In a request you make with this method, you can send the defined data id value and delete the data corresponding to that id value through the server.

We saw the frequently used HTTP methods, see you in the next article …

Resources:

  • https://www.w3schools.com/tags/ref_httpmethods.asp
  • https://medium.com/@mbilgil0/http-metotlar%C4%B1-http-request-methods-90d57d574dfa
  • https://developer.mozilla.org/tr/docs/Web/HTTP/metotlar

[baglanti_kare][goruntu_kare][yazi_ici_goruntu][space]

Bunu paylaş:

  • Twitter
  • Facebook

Related

Leave a Reply Cancel reply

Categories

  • Console
  • Django-en
  • English
  • General
  • Hardware
  • Kick-off information
  • Linux-en
  • Python-en
  • Software
  • TürkçeTürkçe

Personal VPN setup

Personal vpn setup

RSS Rss

  • Samsung np s3511 laptop fan temizliği, termal macun değişimi ve parça değişimi (RAM, HDD,Cd room,CPU ) 12 October 2021
    Herkese merhaba, uzun zamandır bir laptop söküp bakım yapmamıştım. Eski bir arkadaşım laptopuında ısınma ve kapanma sorunları olduğunu söyledi. Bir hafta sonu misafirliğe giderek laptopa güzel bir temizlik yaptık. Temizlik yaparken yaptığım işlemleri resim çekerek görselleştirdim. Ben temizlik için laptopu söktüm fakat sadece temizlik yapmak dışında bu yazınında başlığında gördüğünüz gibi parça değişimi işlemleri içinde...
  • Linux işletim sisteminin yanına windows işletim sistemi nasıl kurulur ? [Dual boot] 28 June 2021
    Herkese merhaba, bugün ki konumuz dual boot, bir başka değişle; bilgisayarınızda yüklü olan işletim sisteminin yanına bir başka işletim sistemi kurmak. Uzun yıllar Windows kullanmış bir birey olarak, yaklaşık 5-6 yıldır Linux tabanlı işletim sistemleri kullanıyorum. Uygulama geliştiricelerin kullanırken daha rahat hissetiği ve işletim sistemi üzerinde tam kontrole sahip olduğu bir işletim sistemi. Bunun yanı...
  • Docker nedir, Docker ile neler yapılır ? 14 June 2021
    Herkese merhaba, sitemin temasını değiştirdim ve bir kaç bileşen eklemesi yaptım. Bri şeyi fark ettim, bir kaç yıldır blog yazıyorum fakat bloğumda arşiv kısmına baktığımda bir kaç ay hariç geri kalan aylarda neredeyse sadece bir adet yazı paylaşmışım. Düşünüyorum; ayda bir yazıdan fazla blog yazmış olmam gerekiyor. Ama gerçekte öyle değilmiş. Neyse, bu durum bloğun...
  • Linux uyku modları ve sorunları 22 May 2021
    Herkese merhaba, uzun zamandır blog yazamıyorum. İş değiştirme olsun yaşadığım sorunlar olsun bir türlü vakit ayırıp içerik hazırlayamadım. Kendi bilgisayarım üzerinde yaşadığım bir sorunu nasıl çözdüğümü yazarak başlamak istiyorum. Öncelikle hikayenin başına dönelim. Önceki yazılarımı okuyanlar bilir, askerden geldikten sonra yaptığım ilk iş bilgisayarıma format atmak oldu. Herşeye sıfırdan başladım. Buraya kadar bir problem yok...
  • WordPress, web sitenizde kritik bir hata oluştu! 3 April 2021
    Herkese merhaba, uzun süredir içerik üretemedim ve fazla vakit ayıramadım buralara, yeterince vakit bulamadım işin açıkcası. Bulduğum ilk fırsatta bir iki yazı yazmak istedim. İlk yazım wordpress kullanan her kullanıcının başına gelebilecek türden bir hata. Bir gün web sitenize girmek istediniz ve karşınıza böyle bir ekran geldi. [goruntu_kare][goruntu_kare_amp] Siz en son bıraktığınızda siteniz güzel ve...
  • İnternette Kişisel Güvenlik 24 January 2021
    Geçtiğimiz günlerde WhatsApp’ın güncellediği kişisel veri ilkesiyle ülkemizde büyük ses getird. Bununla birlikte telefonumuzda ya da bilgisayarımızda kullandığımız uygulamaların ne tür verileri sakladığını ve bu verileri ne amaçla kullandığını bilmek kişisel olarak güvenliğimizi artırmak için araştırmamız gereken konular arasına girdi. İnternet üzerinde yaptığımız her türlü araştırma ve web site ziyareti kayıt altına alınıyor bu bir...
  • Nasıl pasaport alınır ? detaylı anlatım 2021 5 December 2020
    Dünyanın başına gelmeyen olayın kalmadığı 2020 yılının son ayındayız. Hastalıklar, doğal afetler, ölümler, patlamalar, çatlamalar envai çeşit sıkıntıyla yüzleştik, umarım 2021 yılı daha hurulu ve mutlu geçer tüm dünya ve bizim için. 2020 yılının son ayına girdiğimiz şu günlerde uzun süredir aklımda olan bir eylemi gerçekleştirdim ve pasaport aldım. Pasaport alırken yapılacak işlemleri ve pasaport...
  • Pythonanywhere üzerinde selenium kullanımı 5 November 2020
    Python üzerinde veri kazıma yapmak isterseniz eğer muhakkak ismini duyup araştırmışsınızdır selenium modülünü. Selenium modülü ile kullanıcı taklit edilecek web sitesi üzerinde testler oluşturabilir ya da veri kazıma işlemleri yapabilirsiniz. Peki bu işlemleri herhangi bir ekrana sahip olmayan uzak sunucu üzerinde yapmak istersek nasıl gerçekleştireceğiz ? Hadi başlayalım. [baglanti_kare] [baglanti_kare][space] Python selenium modülü nedir ?...
  • Polylang eklentisi nedir ? WordPress sitesine çoklu dil ekleme nasıl yapılır ? 29 October 2020
    Herkese merhaba, bir blog siteniz varsa ve sürekli yazılar yayınlayıp paylaşıyorsanız eğer bir süre sonra bu yazıları farklı diller içinde paylaşmak isteyebilirsiniz. Farklı dillerde yayın yaparak daha fazla kitelelere ulaşabilir ve Google adsense ya da farklı reklam gösterimlerini kullanarak daha fazla gelir elde edebilirsniz. Peki wordpress alt yapısı ile oluşturulmuş bir sitede çoklu dil eklemek...
  • HTTP Metodları nelerdir ? 26 October 2020
    Bugün ki yazımda, gün içinde sıklıkla kullandığımız fakat arkaplanına pek dikkat etmediğimiz web site isteklerine bakacağız. Bilgisayar başına geçtiğimizde gerek iş için olsun gerekse bir araştırma için olsun bir çok web sitesini ziyaret ediyoruz, bu ziyaretlerimiz sırasında site ile iletişim kurmamız gereken durumlarda meydana geliyor. Peki bu iletişimin nasıl olduğunu hiç merak ettiniz mi ?...

Archives

  • July 2021 (2)
  • April 2021 (1)
  • October 2020 (2)
  • September 2020 (1)
  • March 2020 (1)
  • February 2020 (4)
  • January 2020 (6)
  • December 2019 (5)
  • November 2019 (3)
  • September 2019 (1)
  • July 2019 (1)
  • April 2019 (1)
  • December 2018 (2)
  • November 2018 (2)
  • October 2018 (1)
  • September 2018 (1)
  • August 2018 (4)

Blog Stats

  • 22,921 hits

Blog İnformation

  • 22,921 Click

DMCA.com Protection Status

© 2022 Kenan YAMAN | Powered by Minimalist Blog WordPress Theme
Go to mobile version