title: Send password to website safely with Ruby
body: <p>Minecraft uses a launcher on to reduce theft of the game: anyone can download without charge, but the user must provide credentials for a premium account to be able to update the game. I want to build a similar launcher (in Ruby) for a project, but I'm having trouble figuring out how to securely send the password over to an HTTP server (written with Sinatra, if it matters). Obviously, putting it as a parameter in a URL is a really bad idea.</p>
  
  <p>Also, I've though about somehow sending it using password fields, but I don't know how they work (I don't usually do HTTP stuff). This is still a possibility.</p>
  
  <p>Shorter summary: In Ruby, I want to send sensitive info over an HTTP request to a Ruby/Sinatra server.</p>
  
  <p>Thanks for reading this!</p>