caushik conjetty sekhar wrote:Use GET method when you want to bookmark your page or retrieve simple data.
Complexity of the data is irrelevant. The GET method should be used to get data regardless of whether it is complex or simple.
GET is not secure since the data is appended in the URL, in POST data is sent in the body so the data is not seen to outside world.
This is a popular
myth, and is completely
wrong.
Just because POST data is in the body of the request it is no more secure than data placed on the URL. All unencrypted data sent over the Internet is visible to anybody along the way.
POST is in no way more secure than GET, and GET is no less secure than POST. If you want to protect the data, use SSL to encrypt the transmitted data.