title: Curl with POST method gives "HTTP Status 405" while the submit form is a POST. Input doesn't get prefilled from paired URL parameter
body: <p>I searched around google for a similar problem but couldn't find any, or couldn't formulate my question precisely enough, so I come to you.
  <br><br><br></p>
  
  <p>I'm trying to login to <a href="http://forclosure.com" rel="nofollow noreferrer">forclosure.com</a> from my localhost using <strong>Curl</strong>.</p>
  
  <p>If you go to <a href="http://forclosure.com/login" rel="nofollow noreferrer">forclosure.com/login</a>, you'll find that the login form uses a <strong>POST</strong> method, whereas when I try to login with Curl, it gives me an <strong>HTTP Status 405</strong> error.</p>
  
  <p>I tried to use Curl with a <strong>GET</strong> request instead and it passes <em>(while the form is a POST..)</em>.</p>
  
  <p>But now comes another problem, the password input isn't recognized in the URL and the login doesn't pass.</p>
  
  <p>For exemple, if you try those parameters :<br>
  <a href="https://www.foreclosure.com/login?key=testkey&amp;password=testpass" rel="nofollow noreferrer">https://www.foreclosure.com/login?<strong>key</strong>=testkey&amp;<strong>password</strong>=testpass</a></p>
  
  <p>You will see that the username "<strong>key</strong>" gets filled, but not the password "<strong>password</strong>".</p>
  
  <p>Same thing seems to happen with the search bar above with the name "<strong>q</strong>"</p>
  
  <p><br><br><br>
  Thank you in advance. If the solution seems obvious to you, bear in mind that I'm still learning and would like to be pointed towards the right path.</p>