English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

POST puts the form values into the headers of the HTTP communication, GET puts the form values into the URL string.
GET is limited to about 256 characters (usually a browser limitation) and creates really ugly URLs.POST allows you to have extremely dense forms and pass that to the server without clutter or limitation in size. e.g. you obviously can't send a file from the client to the server via GET.
Ussually it is considered that Post it is more secure because it is enconded wuith get you can see the information (in urls like this:examole.com?id="bobby"). the id in this case is end via GET

2006-07-25 22:19:36 · answer #1 · answered by Ana 6 · 1 0

get and post are two methods in HTTP .
get method used to get values from server and post method used to post values to server.
get method is tranfer the values by the part of URL and post method transfer the values by body content.

2006-07-26 05:31:55 · answer #2 · answered by jacky 2 · 0 0

Adding on to what Ana says, on the server side, a script will read POST data from the standard input, whereas GET data is read from environment variables.

2006-07-26 05:24:47 · answer #3 · answered by Shaun B 2 · 0 0

fedest.com, questions and answers