Expert JavaScript Developer Question: Download Expert JavaScript Developer PDF

Explain Methods GET and POST in HTML forms - what's the difference?

Tweet Share WhatsApp

Answer:

GET: Parameters are passed in the query string. Maximum amount of data that can be sent via the GET method is limited to about 2kb.

POST: Parameters are passed in the request body. There is no limit to the amount of data that can be transferred using POST. However, there are limits on the maximum amount of data that can be transferred in one name/value pair.

Download Expert JavaScript Developer PDF Read All 58 Expert JavaScript Developer Questions
Previous QuestionNext Question
What does isNaN function do?Explain data type of variables of in JavaScript?