Solved

HTTP POST vs. HTTP GET

Posted on 2014-10-27
3
214 Views
Last Modified: 2014-10-30
What is the difference between a HTTP POST and a HTTP GET

Thanks
0
Comment
Question by:Anthony Lucia
3 Comments
 
LVL 58

Assisted Solution

by:Gary
Gary earned 250 total points
ID: 40407044
GET sends all the form data in the URL
POST sends all the form data in the request
0
 
LVL 29

Accepted Solution

by:
becraig earned 250 total points
ID: 40407052
A get sends a request for a specific resource e.g:

http://www.google.com 
This is a get request and will pull up the configured index page.
An HTTP response is returned usually a 200 (sometimes a 302 in the case of a redirect 404 if missing etc)

A post pushes data to the webserver
E.g. filling out a signup form at a website etc.

Though you can push data using both methods, GET generally will allow cached responses while post cannot be cached and will be returned from the server in each instance.

more info:
http://www.programmerinterview.com/index.php/general-miscellaneous/html-get-vs-post/
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A few customers have recently asked my thoughts on Password Managers.  As Security is a big part of our industry I was initially very hesitant and sceptical about giving a program all of my secret passwords.  But as I was getting asked about them mo…
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now