Programming Concepts Question:
Download Questions PDF

Suppose if GET method is less secure than POST method then why they introduced GET method.and we\ll use only POST method alone. Wats the need for GET here?

Answer:

Using GET method form data is appended to URL while using POST method it is transferred in the message body.
GET method is intended for information retrieval. It should be used to retrieve information that do not change state of server.
For functions such as login, POST method is preferable due to security reasons.

Download Programming Concepts Interview Questions And Answers PDF

Previous QuestionNext Question
How do i put a background on a website using css coding?How do u go about gathering the requirements?