HTML Forms: When to Use GET?

  • The default method when submitting form data is GET.
  • However, when GET is used, the submitted form data will be visible in the page address field.
  • Appends form-data into the URL in name/value pairs.
  • The length of a URL is limited (about 3000 characters).
  • Never use GET to send sensitive data! (will be visible in the URL).
  • Useful for form submissions where a user wants to bookmark the result.
  • GET is better for non-secure data, like query strings in Google.

Related concepts

When to Use GET?

HTML Forms: When to Use GET? — Structure map

Clickable & Draggable!

HTML Forms: When to Use GET? — Related pages: