Problem to send variable in postdata

i have a problem to send Hcaptcha in postdata i make 2 postdatas one whit hcaptcha and other whithout, but when take key to send hcaptcha never send.

here some info.

BLOCK:ConstantString
LABEL:AUTH
  => VAR @AUTH
ENDBLOCK

BLOCK:ConstantString
LABEL:HCAP
  => VAR @HCAP
ENDBLOCK

IF STRINGKEY @data.SOURCE Contains "data-sitekey=\"ab9df583-48b9-4c1b-8ace-0ba504a8c6e7"
BLOCK:ConstantString
LABEL:AUTH
  value = $"op=login&rand=&redirect=https%3A%2F%2FSite.com%2F&login=<input.USER>&password=<input.PASS>&g-recaptcha-response=<HCAP>&h-captcha-response=<HCAP>"
  => VAR @AUTH
ENDBLOCK
ELSE

BLOCK:ConstantString
LABEL:AUTH
  value = $"op=login&rand=&redirect=https%3A%2F%2FSite.com%2F&login=<input.USER>&password=<input.PASS>"
  => VAR @AUTH
ENDBLOCK
END

IF STRINGKEY @data.SOURCE DoesNotContain "data-sitekey=\"ab9df583-48b9-4c1b-8ace-0ba504a8c6e7"
JUMP #LOGIN
END

BLOCK:SolveHCaptcha
LABEL:HCAP
  siteKey = "ab9df583-48b9-4c1b-8ace-0ba504a8c6e7"
  siteUrl = "https://Site.com/login.html"
  userAgent = $"<UA>"
  => VAR @HCAP
ENDBLOCK

#LOGIN
BLOCK:HttpRequest
LABEL:LOGIN
  url = "https://Site.com/"
  method = POST
  customHeaders = ${("User-Agent", "<UA>"), ("Pragma", "no-cache"), ("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"), ("Accept-Language", "en-US,en;q=0.8"), ("Accept-Encoding", "gzip, deflate, br"), ("Origin", "https://Site.com"), ("DNT", "1"), ("Connection", "keep-alive"), ("Referer", "https://Site.com/login.html"), ("Upgrade-Insecure-Requests", "1")}
  TYPE:STANDARD
  @AUTH
  "application/x-www-form-urlencoded"
ENDBLOCK
1 Like

I hope EXPERT will give you help my friend PERCE , you always helped me since 2020, in the OLD forum . God Bless U

ANTONIO