title: How to validate reCAPTCHA V2 Java (Servlet)
body: <p>This is an Q&amp;A style post, which I'll post both the question and an answer. The main reason for this is that I spent quite a lot of time searching the easiest way to validate recaptcha V2. So I'm going to share my knowledge to avoid further time wastage of developers.</p>
  
  <blockquote>
    <p>How to do a <strong>server side validation</strong> of Google <strong>reCAPTCHA V2</strong> or <strong>Invisible reCAPTCHA</strong> with <strong>Java</strong>?</p>
  </blockquote>