title: How do I use reCAPTCHA Ver 2 with Java?
body: <p>I am trying to implement reCAPTCHA ver 2 in my Java web application. To verify the user's response I need to get the value of <code>g-recaptcha-response</code> which reCAPTCHA posts to my server, according to the tutorials <a href="https://developers.google.com/recaptcha/docs/verify" rel="nofollow">here</a>. But Java does not allow variable names with hyphens in them. How do I get this value?</p>