Tuesday, May 20, 2008

GET vs POST



















































FEATURE

GET method

POST method

Type of data
text text & binary

Amount of data
Browser dependent gen is 255 unlimited

Visibility
data is part of URL Part of body not URL

Caching
can be cached cant be

Bookmarkable
Can bookmark Cant bookmark

Spl Case
Cant be used in case data is character set other than ASCII Can use any type of character set

Use Case
used when the form processing is "idempotent" used in all other cases

Default
Its default for HTML FORM element Its not .. need to use method attribute

No comments: