+ 7
What are the difference between GET, POST and REQUEST method?
5 Answers
+ 3
REQUEST is not part of the method attribute of the form
+ 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.
+ 1
post method is invisible to others,get is visible,post is perfered to send data
+ 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 )