+ 2
How to remember diference in HTML form method GET and POST?
Does anybody have a good trick how to remember which method is which? I understand the difference, but I just keep mixing them between each other, so I am not able to give it from heart without looking it up :) Thanks.
5 Réponses
+ 5
simple trick is this "in Form the method GET u can memorize by saying user will get what inputted on page address while method POST user will 'post' away inputs with security without even see on page address... "
+ 4
There really isn't any trick I know😂,if you get used to it,i assure you would never need any trick
+ 2
@Full Gamer: thanks, I got through HTML course recently. As I wrote in my question I understand the meaning and the difference.
I am just looking for some good memory rule or trick from experienced programmers how to remember this.
0
I'd say you use GET when you want to get input from a user and SET when you want to assign a value to something yourself.
0
I came up with idea, that you can think of that POST is like sending a letter by post - you have the information hidden in an envelope.