Congratulations to all monthly winners of May 2013 !!! They have won INR 2900 cash and INR 27497 worth prize.
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 15727 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > JavaScript Interview Questions > What is the difference between GET and P ...

What is the difference between GET and POST in HTML forms ?

Interview question and answer by: Bharathi Cherukuri | Posted on: 6/18/2012 | Category: JavaScript Interview questions | Views: 1787 | | Points: 40
Ads
Ads


Answer:

The differences between both are described as follows:

GET: Parameters are passed in the querystring. This method appends the form-data to the URL in name/value pairs. Maximum amount of data that can be sent via the GET method is limited to about 2kb. Never use the "get" method to pass sensitive information! (password or other sensitive information will be visible in the browser's address bar).

POST: Parameters are passed in the request body. This method sends the form-data as an HTTP post transaction. There is no limit to the amount of data that can be transferred using POST. However, there are limits on the maximum amount of data that can be transferred in one name/value pair.

For example, go through the below link.

http://www.weberdev.com/get_example.php3?ExampleID=4345

Asked In: Many Interviews | Alert Moderator 
Found interesting? Add this to:


 Responses

Posted by: Pervej | Posted on: 25 Jun 2012 03:18:12 AM | Points: 10 | Alert Moderator 

Below link will provide you the best answer for this
http://www.interviewqsn.com/difference-between-get-and-post-methods.html

Posted by: Umarali1981 | Posted on: 09 Aug 2012 04:13:08 AM | Points: 10 | Alert Moderator 

For difference between GET and POST in HTML forms,please visit the following URL

http://onlydifferencefaqs.blogspot.in/2012/08/aspnet-difference-faqs-4.html

>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Bharathi Cherukuri

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 6/19/2013 6:37:28 PM