Solved

HTTP POST vs. HTTP GET

Posted on 2014-10-27
3
226 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

These instructions are based on installing Owncloud on your new raspberry pi connected with a usb HDD. What do you need Part A? A Raspberry Pi, model B. A boot SD card for the Raspberry Pi. A usb HDD An Ethernet cable to connect to the lo…
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 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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

615 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