[thelist] What is the Difference between post and get?

Anthony Baratta Anthony at Baratta.com
Fri Apr 27 14:06:22 CDT 2001


At 12:02 PM 4/27/2001, you wrote:
>Okay, dumb question but I am creating some forms and was just wondering what
>the difference between post and get was for the method attribute? Also, when
>is the proper time for each to be used?

(One of a million 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.


---
Anthony Baratta
President
Keyboard Jockeys





More information about the thelist mailing list