Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The function of both the methods is same but <code>the difference lies between the two in terms of how the form data is submitted</code>, is explained as follows:</p> <p>1.<strong>GET</strong> method is used to submit the data appended to a URL. The data filled by the user appears after a question mark in the browser (called a query-string). The benefit of this method is that the data can be changed in the link address itself rather than going to a form again and editing data there (or submitting an AJAX request).</p> <p>2.In the case of the <strong>POST</strong> method, the data does not appear in the browser address bar. This is, thus, a better method for a login form because in this case the user is entering a username and password and these should not be shown in the browser address bar.</p> <p>Documentation: <a href="https://developer.mozilla.org/en-US/docs/HTTP" rel="nofollow">https://developer.mozilla.org/en-US/docs/HTTP</a></p> <p><strong>Edited.</strong></p> <p><strong>GET:</strong></p> <ul> <li>Can be bookmarked.</li> <li>Using the GET method works great for emails since you can't use JS or forms in most email applications.</li> <li>GET method should not be used when sending passwords or other sensitive information as it will be visible in the browser UI.</li> <li>7607 character maximum size.</li> <li>Url example: page2.php?category=sport</li> </ul> <p><strong>POST:</strong></p> <ul> <li>Can not be bookmarked.</li> <li>Using forward/back buttons in the browser that hit pages loaded with POST data will require a refresh of the page since the browser knows/thinks that the POST data is something that the server needs to create the page.</li> <li>POST method used when sending passwords or other sensitive information. Note that using the POST method does not ensure privacy, the data is still readily accessible and in plain text, just not visible in the URL.</li> <li>8 Mb max size for the POST method.</li> <li>Url example: page2.php</li> <li>POST data won't be tracked in analytic data.</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload