Differentiate between the GET and POST method

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 22, 2018

 

  • GET is a safe method (idempotent) where POST is the non-idempotent method.
  • GET is an idempotent method and it is safe while the POST method is non-idempotent.
  • GET is the part of the header while POST is the content of the body.
  • A limited data can be sent with GET while POST method allowed a large data to send
  • GET method can easy to bookmark while POST method can't.
  • It is not secure to use the Get method as it is possible to send the same request over and over while the POST method is secure.
  • GET method is the default method while the POST method needs to be specified.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Servlet interview questions

    What do you mean by Servlet?

    It is designed by the Java software company. It is used to extend the ability of the server...

    Servlet interview questions

    Differentiate between the web server and application server?

    Web Server is the connection between the HTTP and HTML...

    Servlet interview questions

    Which HTTP method is said to be non-idempotent and idempotent?

    If any HTTP brings the same result every time then it means it is idempotent...