C#
Demo address
Find the C# Demo at https://github.com/GeeTeam/gt4_csharp_aspnetcoremvc_demo
Run demo
Install .NET Core 3.1 or higher
Git Clone C# Demo project
Launch the .NET project
Visit http://localhost:64335 in browser to see demo interface
Access process
Configure GeeTest parameters
Get front-end parameters
Generate signature
Request GeeTest service to validate user legitimacy
You can make further decisions based on the verification result returned from GeeTest server
Secondary validation API
Item | Description |
---|---|
API address | http://gcaptcha4.geetest.com/validate |
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
Parameter Name | Type | Description |
---|---|---|
result | string | Secondary validation result |
reason | string | Validation result description |
captcha_args | dict | Verify output parameters |