{HTML} GET and POST | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

{HTML} GET and POST

please explain to me the difference between GET and POST in Html form ?

23rd Mar 2017, 5:38 PM
ali meddah
ali meddah - avatar
3 Answers
+ 13
If you are working with form and user input, then definitely go for Post, because it won't show the submitted data (like email, password etc.) in URL as Maruthi MB explained. In other cases, use Get.
23rd Mar 2017, 8:04 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 1
Using method ="GET" in form tag will show the submitted data in the url Using method ="POST" in form tag will posts the submitted data and it will not be visible in url
23rd Mar 2017, 6:39 PM
onekpsc
0
But how to chose the right one ? I mean when to use "GET" and when to use "POST" ?
23rd Mar 2017, 7:43 PM
ali meddah
ali meddah - avatar