Distinguish, differentiate, compare and explain what is the difference between get and post method. Comparison and Differences.
Difference Between Get and Post Method
|S.No.||Get Method||Post Method|
|1||Get method is designed for reading the info means it requests data from a specified resource.||Post method is designed for posting the info means submits data to be processed to a specified resource.|
|2||Requests can be cached.||Requests can never be cached.|
|3||It places the extra info in the URL which allows the page to bookmarked or email.||Requests pass all data of directly over the socket connection as a part of HTTP request body and which cannot be bookmarked or emailed.|
|4||Requests remain in the browser history.||Requests do not remain in the browser history.|
|5||Less secure because data sent is a part of the URL.||Little safer and secure because the parameters are not stored in browser history or in web server logs.|