What Is The Difference Between GET & POST?

If you are learning to do programming for the web for the first time then you are going to see a lot of terms that are new to you. Some people look at web programming as the easiest of all the programming disciplines out there. And for many years that was the case. It did not take much to be considered a web programmer. But that is not the case any longer. The web is very complicated now and if you want to be considered a professional in the industry then you are going to have to deal with the many different layers that consist in web programming.

One of these layers is the application layer of the web. We are starting to build more and more functionality on top of the web layer, most of it is nothing more than a big hack, and if you want to be able to access that power then there are some terms that you should learn. And two of these terms are GET and POST.

A lot of people, even some experts, think that the GET and POST request are interchangeable. And for the most part they are but they are not supposed to be. There is a specific purpose for each request and we are going to talk about it here.

The GET request is supposed to be for requesting a certain resource. In other words, you are asking the server for a certain image or file to be downloaded. You will see the GET request in the address bar. That is why you see long addresses on the web. A lot of times those are the GET request going to the server.

The POST request is supposed to be used for submitting data to be processed. The data that you are posting is in the body of the request and may actually make a new resource. POST request you will not see in the address bar and is usually used for security purposes.

These are two requests that you are going to have to use when you are talking about making applications that work over the web. It is in your best interest to get used to them very soon.

About Lee Munson

Lee's non-technical background allows him to write about internet security in a clear way that is understandable to both IT professionals and people just like you who need simple answers to your security questions.

Speak Your Mind

*