title: Proper way to send username and password from client to server
body: <p>This question is not language specific.  <strong>I'm curious how to properly send username and password from a website login form to a server.</strong>  </p>
  
  <p>My guess is to hash the password, put username/password in the POST body and send it over <code>HTTPS</code>.  What's a better way?</p>
  
  <p>For good measure I'll mention a less than ideal method:</p>
  
  <pre><code>http://www.somesite.com/login?un=myplaintextusername&amp;pw=myplaintextpassword
  </code></pre>