What is the difference between the html form methods get and post?



What is the difference between the html form methods get and post?..

Answer / Satyam Srivastava

The main difference between HTML form methods GET and POST lies in how data is sent to the server. GET requests append the data to the URL after a '?' symbol, while POST requests send the data in the body of the HTTP request. GET requests are limited by URL length and visible to anyone who views the URL, making them less secure for sensitive data. On the other hand, POST requests are more secure because the data is not visible in the URL.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

How do I align a table to the right (or left)?

1 Answers  


What is html displayfor?

1 Answers  


What is lang attribute?

1 Answers  


What is the purpose of Socket.readyState atribute of WebSocket?

1 Answers  


What is the tag for bold in html?

1 Answers  


What is an image map?

1 Answers  


Can I prevent a form from being submitted again?

1 Answers  


Please explain empty elements in html?

1 Answers  


What is emphasized text?

1 Answers  


What is xhtml? Why xhtml?

1 Answers  


What is dhtml? What are the features of dhtml?

1 Answers  


Phonegap uses html5, css, and __________ to write and deploy application.

1 Answers  


Categories