GET and POST methods, what's the difference? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

GET and POST methods, what's the difference?

The action is not clear for me. Do both send data ? first is unsecured and second is secured? or is the first to Get data from server and post send it. I was reading http://www.w3schools.com/tags/ref_httpmethods.asp are the form methods different from HTTP methods? thanks

3rd Jan 2017, 6:44 AM
Fares Al-Abed
Fares Al-Abed - avatar
3 Réponses
+ 2
GET is appended to the end of the URL it is indicated by a question mark. an example:www.google.com/?q=hi%20mom They both send data. POST is best for submitting forms. It keeps things more private. Its ok to have things like a page number on the url, but its a huge security issue to have something like a password appended to it.
3rd Jan 2017, 6:56 AM
Hello World!!!!
Hello World!!!! - avatar
+ 1
The form method and HTTP request are the same. Method determines what type of http request to send.
3rd Jan 2017, 7:17 AM
Hello World!!!!
Hello World!!!! - avatar
0
thanks, I was reading http://www.w3schools.com/tags/ref_httpmethods.asp are the form methods different from HTTP methods?
3rd Jan 2017, 7:11 AM
Fares Al-Abed
Fares Al-Abed - avatar