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

GET and POST

Can anyone please explain me more about GET and POST attributes in HTML

12th Jul 2017, 2:21 PM
Nirmal Kumar Bhakat
Nirmal Kumar Bhakat - avatar
4 Answers
+ 13
Get and Post are methods to receive data from user and manipulate it. Get is visible in url, while Post data is stored in server and is invisible to user.Post is more secure than Get and it has no restrictions about data type or its length, unlike Get. Also, Get method is usually for getting data, while Post is mostly for inserting and updating.
12th Jul 2017, 3:29 PM
Suzie
Suzie - avatar
+ 1
When you use "form" tag, you can also use, submit button which is a button that allows you to send data to the server or something like that... Now you have two possibilities: get --> it shows in the path, the complete address to user post --> it doesn't show the complete address to user p.s. when i say address, i mean the address of the server where the data are sent...
12th Jul 2017, 3:05 PM
2_3rr0r5
2_3rr0r5 - avatar
+ 1
GET is used for shorter chunks of non-sensitive information - you might see the information you have submitted in a web site’s search to appear in the web address of its search results page.POST is used for lengthier, more secure submissions, such as in contact forms.
12th Jul 2017, 3:51 PM
Eyob G. Hagos
Eyob G. Hagos - avatar
5th Mar 2021, 7:57 AM
devfemibadmus
devfemibadmus - avatar