Use GET for search boxes and filters (so users can bookmark the URL), and always use POST for logins, registrations, payments, or anything that creates/modifies data—because POST hides sensitive values from the URL bar and browser history.
ADVERTISEMENT