req := recaptcha.Request{
Secret: "dummy-secret",
Response: "dummy-response",
RemoteIP: "127.0.0.1",
}
res, err := req.Verify()
if err != nil {
panic(err)
}
if res.Success {
fmt.Println("success!")
}
-
Notifications
You must be signed in to change notification settings - Fork 1
Validate Google ReCAPTCHA v3 in golang
License
munenari/recaptcha
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Validate Google ReCAPTCHA v3 in golang
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published