0
Where we use GET method and POST method
GET & POST method
2 Respostas
0
When you use GET, the form data will be visible in the page address.
Use POST if the form is updating data, or includes sensitive information (passwords).
POST offers better security because the submitted data is not visible in the page address.
so
<form action="url" method="POST">
or
<form action="url" method="GET">
0
In simple terms: Post should be used when you need your data invisible to the public e.g password, While Get is the opposite. e.g bookmarks