Solved

HTTP POST vs. HTTP GET

Posted on 2014-10-27
3
209 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
Comment Utility
GET sends all the form data in the URL
POST sends all the form data in the request
0
 
LVL 28

Accepted Solution

by:
becraig earned 250 total points
Comment Utility
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction and Prerequisites This article describes methods for detecting whether a client browser accepts and returns HTTP cookies and whether the client browser runs JavaScript.  Most client browsers will, by default, be configured to use cooki…
The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
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 video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 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

11 Experts available now in Live!

Get 1:1 Help Now