+ 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.

12th Feb 2018, 4:49 PM
Miroslav M
Miroslav M - avatar
5 ответов
+ 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... "
17th Feb 2018, 5:59 AM
JOHN BRUNO ALBERT
JOHN BRUNO ALBERT - avatar
+ 4
There really isn't any trick I know😂,if you get used to it,i assure you would never need any trick
12th Feb 2018, 4:54 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 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.
12th Feb 2018, 9:33 PM
Miroslav M
Miroslav M - avatar
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.
12th Feb 2018, 4:54 PM
SQL Guy
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.
12th Feb 2018, 6:17 PM
Miroslav M
Miroslav M - avatar