answersLogoWhite

0


Best Answer

If your form has security items (like username, password) use POST method. Because post method is more secure. Otherwise you can use GET method. Also GET method is faster than POST method.

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which is better to use while submitting a form GET method or POST method?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How to pass form data between HTML pages without using url in java?

This can be accomplished by submitting the form data using the POST method.


What are Two methods data can be submitted to a web server?

The two methods for submitting data to a server GET and POST When ever you open a web page you are using the GET method. POST is primarily used with forms where you input information, though not always. A search engine generally uses the GET method, even though you are entering information into a form. When the GET method is used, the form fields are added onto the URL. In a POST the fields are submitted 'behind the scenes' and not visible to the user.


What is doGet method in servlet?

The doGet() method is the method inside a servlet that gets called every time a request from a jsp page is submitted. The control first reaches the doGet() method of the servlet and then the servlet decides what functionality to invoke based on the submit request. The get method called when the type of page submission is "GET" There is another way of submitting requests from a jsp page is "POST" and when that happens it calls the doPost() method inside the servlet.


What is the limit to post question?

Limitation on submitting a question, is it an explicit request to create a new.


Is there any limitation in the length of the query string when using GET or POST method?

There is no limitation for the POST method but for the GET method it is 256 characters


What is doPost in servlet?

doPost() is the method in the servlet that is used to service the Http requests submitted using the Post option. HTML forms can be submitted in two ways using the Get method and the Post method. You can specify the method while declaring the form itself. So you will have two methods in the servlet doGet() and doPost() each for one of them


Is http post method equal to https method?

No, they are not equal in any way. HTTPS is more secure than the post method.


Who is the secure in post and get method?

Post is more secure method in forms. It does not supply the form information in the URL.


Method is considered the preferred way of sending data to a Web server?

The post method. ( As opposed to the get method ).


What is the difference between POST and REQUEST methods in PHP?

The $_POST array contains only variables supplied by a form that used the POST method, while the $_REQUEST array combines the $_POST, $_GET and $COOKIE arrays.


Using php how do you choose from get method and post method to get information from forms?

Use the post method as far as possible. It encrypts the requests and then sends it to the server. Comparatively you could say it is more secure.


What is method in HTML form?

There are two form methods: method="POST" and method="GET" GET makes the page it sends the form info from retrieve it from the URL. POST sends the data, and can handle more characters than GET.