Saturday, January 7, 2012

form

get
-query sting
a query string is a set
of name=value
'?' concatenate the name
& seperate
can be bookmark
for requests that are idenpotent
not secure

post
-secure
-this method sends the form
contents in the body of the request
-most browsers unable to bookmark
(not display in url)
-when request are not idempotent
can not refresh and get the result
-credit card

when form contain non-ASCII characters
or exceed 100 characters must "post"

No comments:

Post a Comment