what is the difference between GET and POST?
Answer Posted / waqas
GET
GET is small and can be sent quickly
a lot of devices - such as mobile devices can send get
requests easily and thus GET is excellent for REST
apis(webservice)
GET can be used with POST
GET can be Bookmarked in a browser
GET method is default method
We have to encode URL if we
POST
For sending secure information POST is prefered
GET url can be copied and pasted in a messenger - and your
friend will see the same page - this is impossible to do
with post
We can pass unlimited data by this method as query string
| Is This Answer Correct ? | 25 Yes | 11 No |
Post New Answer View All Answers
What are the Advantages and Application Areas of PHP?
What is difference between rest and http?
How does php server work?
What is use of isset function in php?
What is the advantage of runtime polymorphism?
Is php free to use?
How stop the execution of a php scrip?
Tell me how can we define a variable accessible in functions of a php script?
What is the php function that removes the first element of the array and returns it?
What are different types of errors available in Php?
What are objects in php?
iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not
What is $_ get and $_ post in php?
Explain setcookie() function in php?
Which function Returns the time of sunrise for a given day / location in PHP.