title: Parsing HTTPS instead of HTTP in Rails
body: <p>I know how to parse HTTP requrests using Net::HTTP. How do you parse HTTPS requests?</p>
  
  <p>I've tried and it says as a response (one of the lines):</p>
  
  <pre><code>&lt;head&gt;&lt;title&gt;400 The plain HTTP request was sent to HTTPS port&lt;/title&gt;&lt;/head&gt;
  </code></pre>
  
  <p>stox</p>
  
  <p>Edited:</p>
  
  <p>So to show you in a little bit more detail:</p>
  
  <p>For example, here is the HTTP API </p>
  
  <pre><code>https://xxxxx.info/merchant/balance?password=$main_password
  </code></pre>
  
  <p>How do I use Net:http to run this? Or do I use something else?</p>
  
  <p>Thanks
  Stox</p>