A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/panicbit/recaptcha-rs below:

GitHub - panicbit/recaptcha-rs: Verify recaptcha responses

Recaptcha-rs is a very simple library to verify recaptcha responses.

To use recaptcha-rs in your project you can add the following to your Cargo.toml:

extern crate recaptcha;

fn main() {
    let remote_ip = "123.123.123.123".parse().ok();
    let res = recaptcha::verify("your_private_key", "user_response", remote_ip).await;

    if res.is_ok() {
        println!("Success");
    } else {
        println!("Failure");
    }
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4