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 php exit do?
Why php is sometimes called as embedded scripting language?
What are getters and setters php?
What is the difference between require and include in php?
Which php framework is in demand?
What are examples of dependent variables?
What is php explain how php works?
Why do we use session?
How to return a value back to the function caller?
Do you know how to delete a file from the system?
What is substr() in php? And how it is used?
Is laravel better than codeigniter?
What is T_PAAMAYIM_NEKUDOTAYIM?
Tell me what is the use of the function htmlentities?
How to replace a text in a string with another text in php?