Basic JavaScript Question: Download JavaScript PDF

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 JavaScript PDF Read All 114 JavaScript Questions
Previous QuestionNext Question
What is the data type of variables of in JavaScript? How to write a script for "Select" lists using JavaScript?