0

Get and Post in HTML

i understand the difference between <form action="url" method="GET"> and <form action="url" method="POST"> what i dont understand is where they went here <form> <input type="text" name="username" /><br /> <input type="password" name="password" /> </form> i am new to coding so please dot tell me to look at the lessons.

23rd Jan 2017, 3:58 PM
Melissa Harris
Melissa Harris - avatar
4 Answers
+ 5
methods : GET, POST, DELETE, PUT, OPTIONS, HEAD


23rd Jan 2017, 4:29 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
All methods work but they serve different purposes


23rd Jan 2017, 4:46 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
If you dont specify the method, GET will be used.
23rd Jan 2017, 4:23 PM
Uran Kajtazaj
Uran Kajtazaj - avatar
0
that doesn't tell me why the post method worked in the second one
23rd Jan 2017, 4:45 PM
Melissa Harris
Melissa Harris - avatar