A
A
Alexander2018-06-14 09:23:45
JavaScript
Alexander, 2018-06-14 09:23:45

Is it possible to connect and check recapctha only via js?

I want to check recaptcha only with ajax requests

$.ajax({
  url: "https://www.google.com/recaptcha/api/siteverify",
  data: {'secret' : sk, 'response ' : 'А тут что написать?'},
  success: function(data) {
    console.log(data);
    var data = data;
    
  }
});

That's what I smeared, for the life of me, I don't understand what to write in the response. What parameter to pass? Does anyone have the code ready?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Semyon Semyonov, 2018-06-14
@man_without_face

What for?
https://stackoverflow.com/questions/27902539/how-c...
more:
https://stackoverflow.com/questions/45408575/googl...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question