Sequence diagram of calling Captcha
Web and app
The sequence diagram of the web and app calling Captcha is as follows:
Customer front end: needs to integrate to Captcha to display the verification page on the client.
Customer back end: needs to call the ticket verification API to verify the client verification result.
Quick integration
Step 1. Create CAPTCHA and obtain the CAPTCHA key.
1. Log in to the Captcha console and select CAPTCHA -> Manage CAPTCHA on the left navigation pane to go to the Manage CAPTCHA page. 2. Click Create CAPTCHA and set parameters such as CAPTCHA name according to your business requirements.
3. Click OK to complete the CAPTCHA creation. Then you can view the CAPTCHA key (CaptchaAppId and AppSecretKey) in the CAPTCHA list.
Note:
After a CAPTCHA is created, you can modify the verification method, risk control level, and appearance style. For more information, please see Console Operation Guide. Step 2. The client integrates to Captcha and displays the verification page.
You need to dynamically introduce the Captcha JS into the web and app codes. When the business requires behavior verification, it calls and renders the Captcha JS for verification. For more information, please see Web Integration and App Integration. Note:
TCaptcha-global.js must be loaded dynamically. If you use other methods to avoid dynamic loading, CAPTCHAs cannot be updated and consequently some legitimate requests rather than malicious requests might be blocked.
Note:
If ticket verification is not integrated, the black market can easily forge verification results, which defeats the purpose of human verification via CAPTCHAs.
More features
The Captcha console also supports the following features:
Statistics: View data such as requests, passed ticket verifications, failed ticket verifications, and ticket verifications.
Verification Configuration: Adjust the configuration of CAPTCHA security, appearance, and others.
FAQs
Was this page helpful?