+ 1
Whats the difference between Get and Post method?
2 Réponses
+ 6
POST method is no more secure than GET method without encryption
+ 6
Hello, AlMisbah Khan !
GET requests the view of the specified resource. Note that GET should not be used for operations that cause side effects, for example, for use in web applications. One of the reasons for this is that the GET can be used arbitrarily by robots or searchers that do not have to take into account the side effects that the request should cause.
and
POST sends data to be processed (for example, from an HTML form) into an identified resource. The data is included in the body of the request. This can lead to the creation of a new resource or updates of existing resources, or both.
Thus, essentially GET is used to retrieve deleted data, and POST is used to insert / update deleted data.
Also pay attention to one of the lessons from SoloLearn
https://www.sololearn.com/learn/PHP/1841/?ref=app