SCWCD (Sun Certified Web Component Developer) notes
HTTP methods
GET, POST, PUT, and HEAD.
GET method
The GET method is used to retrieve a resource (like an image or an HTML page)
from the server, which is specified in the request URL. When the user types the
request URL into the browser's location field or clicks on a hyperlink, the GET
method is triggered.
Even if no method attribute is specified, the browser uses the GET method by default.
The other restrictions for the GET method are that it can pass only text
data and not more than 255 characters.
POST method
The purpose of the POST method is to "post" or send information to the server. It is possible to send an unlimited amount of data as part of a POST request, and the type of data can be binary or text.
The method attribute of the


0 Comments:
Post a Comment
<< Home