SCJP Certification

Sun Certified Java Programmer Certification exam essentials

March 27th, 2010

What is the difference between the GET and POST method?

SCWCD, by Daisy Williams.

The following table summarizes the differences between the Get and Post requests:


Get Request Post Request
Get is the default HTTP method.POST is not the default HTTP method.
It is triggered when the HTML
tag specifies a method=”GET”.
It is triggered when the HTML
tag specifies a method=”POST”.
Its target resource can be static or dynamic. Its target resource can be dynamic only.
The query string is appended as part of the URL after the “?” character. The query string is passed as part of the body, at the end of the request header.
It does not have a body. It has a body.
It is used for just retrieving data from a requested URL. It is used to update information.
It can be bookmarked. It cannot be bookmarked.

Share

Back Top

Responses to “What is the difference between the GET and POST method?”

Comments (0) Trackbacks (0) Leave a comment Trackback url
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Your email address will not be published. Required fields are marked *

*