Thursday, November 8, 2012

Difference Between GET And POST

Difference between GET and POST

GET : 1. The data sent by GET can be accessed using QUERY_STRING
           2. Data sent through GET method is limited.i.e 1024 Characters only
           3. Data sent through GET is not Secure
           4.GET  method is faster than POST method
           5.GET can transfer only test data

POST : 1.The POST method transfers information via HTTP headers
             2.Large amount of data is sent through POST method
             3.Data sent through POST method is secure .
             4.POST can transfer any kind of data including files.

(Note:HTTP Header :HTTP Headers are the request sent to server for information and resulting response.)