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 does the scope of variables means?
What is mysql_fetch_array?
How cookies are transported from servers to browsers?
What are the methods useful for method overloading?
Explain what are the two main string operators?
When should you use a stored procedure?
What is overriding in php?
How to convert strings to numbers in php?
What is the main difference between asp net and php?
Which is better get or post method?
What are the different errors in php?
What is an anti csrf token?
Name some of the constants in php and their purpose.
Why echo is faster than print in php?
What PHP stands for?