This is useful in case your site is using Image Captcha, it will return a JSON with the code and token to refresh the captcha in your site.

It will return a JSON like this:

{
  status: "success",
  data: {
    code: "data:image/png;base64,iVBORw0KGgoAAAAN...",
    token: "eyJ0eXAiOiJKV1QiLCJhbGciOiJI..."
  }
}

Then you can use/refresh your captcha in your app using a code like this:

<img src="{code}">
<input type ="hidden" name="captcha_token" value="{token}">
<input type="text" class="form-control" name="captcha">
Language
Click Try It! to start a request and see the response here!