Home:ALL Converter>How to Submit Invisible reCAPTCHA with 2Captcha api response

How to Submit Invisible reCAPTCHA with 2Captcha api response

Ask Time:2019-12-25T21:52:21         Author:user1777097

Json Formatter

I received 2captcha response and can show g-recaptcha-response text field. I input 2captcha response into g-recaptcha-response text field but not sure how to submit this?

Here is code:

window.captchaOnloadCallback = function () {
        var div = document.getElementById("captcha-div");
        grecaptcha.render(
          div,
          {
            'sitekey': div.getAttribute("data-sitekey"),
            'callback': window.captchaSuccessCallback
          }
        );
      };

Can anybody please help me to find what I need to do to submit after solved captcha code placed.

maybe I need to call the callback function but not sure how.

Author:user1777097,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/59479036/how-to-submit-invisible-recaptcha-with-2captcha-api-response
yy