You are on page 1of 1

Comparison between GET & POST Method

Both GET and POST method is used to transfer data from client to server
in HTTP protocol
GET
 GET carries request parameter appended in URL string while POST carries
request parameter in message body which makes it more secure way of
transferring data from client to server in HTTP protocol.
 GET requests include all required data in the URL.
 Parameters remain in browser history because they are part of the URL
 Can be bookmarked
 Only ASCII characters allowed.
 GET method should not be used when sending passwords or other sensitive
information.
 Can be cached
 Visible to everyone (it will be displayed in the browser's address bar) and has
limits on the amount of information to send.

POST
 HTTP POST requests supply additional data from the client (browser) to the
server in the message body.
 Parameters are not saved in browser history.
 Cannot be bookmark
 No restrictions. Binary data is also allowed.
 POST method used when sending passwords or other sensitive information.
 Not cached
 POST method variables are not displayed in the URL.

You might also like