diff --git a/api2captcha.go b/api2captcha.go index 39b981a..4d2663a 100644 --- a/api2captcha.go +++ b/api2captcha.go @@ -125,6 +125,7 @@ type ( Enterprise bool Version string Action string + DataS string Score float64 } @@ -727,6 +728,9 @@ func (c *ReCaptcha) ToRequest() Request { if c.Action != "" { req.Params["action"] = c.Action } + if c.DataS != "" { + req.Params["data-s"] = c.DataS + } if c.Score != 0 { req.Params["min_score"] = strconv.FormatFloat(c.Score, 'f', -1, 64) }