Open Closed

captchaResponse on /api/services/app/Account/Register #7886


0
cictan created

I am trying to use Register API, so I put my test values like this:

{ "name": "test", "surname": "test", "userName": "tsetss", "emailAddress": "tsss@qq.com", "password": "TTTttee12!@!@", "captchaResponse": "string" } Where can I get this captchaResponse?


4 Answer(s)
  • 0
    maliming created
    Support Team

    The front end passes the captchaResponse to the backend application.

    var captchaResponse = HttpContext.Request.Form[RecaptchaValidator.RecaptchaResponseKey];
    
    

  • 0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.

  • 0
    alharethi created

    maliming, I don't think your suggestion would work if I am using Postman to register via non-web client (mobile app will use our APIs to register, since I will deploy Mvc.Host as web app by itself just for mobile apps).

    How do I pass or get that captcha code for our mobile app users? I have setup my web application to require captcha phrase on registeration as well as on login.

    If I provide null for this value during registration via Postman, I receive this error message: You must prove that you are not a robot.

    Any suggestions?

  • 0
    maliming created
    Support Team

    hi alharethi Please create a new question and explain your situation in detail, Thanks : )