What are the differences between Get and post methods?

asked Sep 13, 2013 in PHP by ashish singh
edited Sep 12, 2013
0 votes

1 Answer

0 votes

What are the differences between Get and post methods.

GET Method:

  • Data is append in url and information will appear in URL.
  • Get() transfer only 255 char.
  • It is not secure .
  • GET request is comparatively faster.
  • GET is the default method of the¬†HTML FORM¬†element.


POST Method:

  • POST request is encapsulated in the body of the HTTP request and can't be seen.
  • No limitation ¬†for the POST request.
  • Post method is secure as compared to get method.¬†
answered Sep 13, 2013 by ashish singh
edited Sep 12, 2013