0
In an HTML form input, why is the method called GET if data is being "sent/submitted"?
I read on SoloLearn that the method attribute of an input tag within a form can be set to GET or POST. If both methods are sending data to another location, is an HTTP GET being used somehow? I thought GET was used to retrieve data, not send it. Can anyone help me understand, please?
2 Réponses
+ 1
both GET and POST method are used to send data, in GET method data is send with URL but in POST method data is not send with URL generally GET method is less secure than POST method because data is send with url and you can send only limited amount of data in GET method
0
In addition, GET is more easily exploitable when it comes to SQLi, XSS, etc due to the data being directly in the URL and easier to manipulate.