What are the difference between GET, POST and REQUEST method? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

What are the difference between GET, POST and REQUEST method?

26th Sep 2017, 4:51 AM
Barsha Dash
Barsha Dash - avatar
4 Answers
+ 3
REQUEST is not part of the method attribute of the form
26th Sep 2017, 6:48 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 2
There are four HTTP requests: - GET (READ) - POST (CREATE) - PUT/PATCH (UPDATE) - DELETE (DELETE) For more informations read about HTTP requests and CRUD. I don't want to give you wrong informations. I recommend Stackoverflow for this to clear this up. It is very essential knowledge and worth to have a good background.
26th Sep 2017, 2:02 PM
Jakub Miziński
Jakub Miziński - avatar
+ 1
post method is invisible to others,get is visible,post is perfered to send data
30th Sep 2017, 8:36 AM
Gao Qiufeng
Gao Qiufeng - avatar
+ 1
jakub has a great answer 4 u .. its all in the different forms of the request. $GET is a URL query and therefore not safe for important information as it may be visible in the URL while $ POST query is embedded in the Http request and therefore makes it abit safer than $ GET when dealing with important data. although this does not make it hacker proof and one should consider using TLS ( Transfer Layer Security )
1st Oct 2017, 10:38 PM
Antony O. Onyango
Antony O. Onyango - avatar