Server
Overview
| Item | Description |
|---|---|
| Product Name | GeeTest CAPTCHA v4 |
| Developer | Wuhan Jiyi Network Technology Co., Ltd. |
| Main Function | The latest generation of CAPTCHA offers smarter solutions to address business losses and security risks caused by automated script/bot attacks. |
| Privacy Policy | GeeTest CAPTCHA v4 Privacy Policy |
| Compliance Guide | GeeTest CAPTCHA v4 Compliance Guide |
| Resource Links | C# https://github.com/GeeTeam/gt4_csharp_aspnetcoremvc_demo Golang https://github.com/GeeTeam/gt4_golang_demo Java https://github.com/GeeTeam/gt4-java-demo Node https://github.com/GeeTeam/gt4_node_express_demo Php https://github.com/GeeTeam/gt4-php-demo Python https://github.com/GeeTeam/gt4-python-demo Ruby https://github.com/GeeTeam/gt4-ruby-demo |
This page will show you how to deploy GeeTest CAPTCHA V4 with the mainstream back-end coding languages.
When the user passes the challenge on the front end, a batch of parameters related to the CAPTCHA will be generated. The user’s request will bring these parameters to the back end, and the back-end API will upload these parameters to the secondary verification API to confirm whether the verification is valid.
The demo list in different back-end languages
Secondary validation API
| Interface information | Description |
|---|---|
| API address | http://gcaptcha4.geetest.com/validate |
| Supported protocol | http/https |
| Request method | GET/POST |
| Content type | application/x-www-form-urlencoded |
| Response format | json |
Request parameters
| Parameter Name | Type | Description |
|---|---|---|
| lot_number | string | Verify serial number |
| captcha_output | string | Verify output information |
| pass_token | string | Token of the verification |
| gen_time | string | Timestamp of the verification |
| captcha_id | string | CAPTCHA ID |
| sign_token | string | Verification signature |
Response parameters
Generally, it only needs to deal with the return value when the verification succeeds and the verification fails. Also, the abnormal return value only occurs when the client does not request the correct method.
1 Example of successful verification return
{ |
2 Example of validation failure return
{ |
3 Example of request exception return
{ |
Here is an example in Python:
def post(self): |