What are the differences between Get and post methods in
form submitting, give the case where we can use get and we
can use post methods?
Answer Posted / dinesh chandra pant
The difference between Get and Post methods are as follows:
1. By using Post method we can send unlimited data,But it's
not possible in the case of Get. Get support maximum 200
characters or 2 MB data.
2. Get method is not secure as anyone can see it's content
in the URL.It doesn't happen in case of Post method.
examples: When the security is the main aim then we use Post
method e.g. in case of password.
When we have to supply the values through a link then we use
Get Method e.g. in case of tables where we have to get the
records for a specific value.
| Is This Answer Correct ? | 6 Yes | 3 No |
Post New Answer View All Answers
Why use php artisan serve?
Is php fully object oriented?
Why ide is recommended for use while programming with php?
Is c similar to php?
What is the purpose of the '.myd' file extension? What do thes file contain?
What is php call function?
What is cookie in php with example?
Can we use include ("xyz.php") two times in a php page "index.php"?
What type of operation is needed when passing values through a form or an url?
Tell us how to create an array of a group of items inside an html form?
What is the purpose of break and continue statement?
Explain Type hinting in PHP?
What do you use php for?
What is a comment in php?
What does $_env means?