Expert JavaScript Developer Question:
Download Questions PDF

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

Expert JavaScript Developer Interview Question
Expert JavaScript Developer Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
What does isNaN function do?Explain data type of variables of in JavaScript?