title: reCaptcha GET / POST
body: <p>I'm going through a small list upgrading things on the parts of my web system I have already done, one of which is ensuring that the security of my Google reCaptcha is correct.</p>
  
  <p>Currently, I use this code:</p>
  
  <pre><code>//reCaptcha
  $Url = "https://www.google.com/recaptcha/api/siteverify";
  $SecretKey = "----Secret Key----";
  $Response = file_get_contents($Url."?secret=".$SecretKey."&amp;response=".$_POST['Response']);
  $Robot = json_decode($Response);
  </code></pre>
  
  <p>This works fine, however Google's documentation says you should use the POST method instead of get, obviously to ensure someone does not get hold of my secret key. I'm unsure on how to do this, however, so some guidance would be appreciated. I understand I will likely have to use cURL, however, I have no knowledge in it and I am unsure on how to install it (if that's required). </p>
  
  <p>Thanks, Tom.</p>