what is the post and get method??

Answer Posted / anjithkumar.garapati

The Post method is more powerful request. By using Post we
can request as well as send some data to the server. We use
post method when we have to send a big chunk of data to the
server, like when we have to send a long enquiry form then
we can send it by using the post method.


The Get is one the simplest Http method. Its main job is to
ask the server for the resource. If the resource is
available then then it will given back to the user on your
browser. That resource may be a HTML page, a sound file, a
picture file (JPEG) etc. We can say that get method is for
getting something from the server. It doesn't mean that you
can't send parameters to the server. But the total amount of
characters in a GET is really limited. In get method the
data we send get appended to the URL so whatever you will
send will be seen by other user so can say that it is not
even secure.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to check your php installation?

508


What is the use of preg_match in php?

531


What is the difference between php and cakephp?

523


What is the use of @ in php?

544


What is the use of friend function in php?

534






How stop the execution of a php scrip?

529


Is null check in php?

521


Why does sql injection happen?

569


What is foreach loop in php?

531


Php code to find whether a number armstrong or not?

541


Which is correct about mysqli and pdo?

562


Why php was called as personal home page?

540


How long is session timeout?

528


Which is a perfect example of runtime polymorphism?

526


What are the 3 types of sessions?

541