+ 2
GET and POST
Can anyone please explain me more about GET and POST attributes in HTML
4 ответов
+ 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.
+ 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...
+ 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.