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
Tell me how to find current date and time?
How to generate a character from an ascii value?
What is mysql_real_escape_string used for?
How to check an element is exists in array or not in php?
what the new feature add in php 7.2?
Do you know what is the differences between $a != $B and $a !== $B?
What does $globals means?
When is a conditional statement ended with an endif?
Can you use php and javascript together?
What are the advantages of using php?
How can you declare the array in php?
What is a composer?
How to create a web form?
Tell me what is needed to be able to use image function?
What are the main error types in php?