Skip to main content
POST
Token Hcaptcha

授权

Authorization
string
header
必填

请求头

accept
enum<string>

Captcha Token Hcaptcha Param Accept

可用选项:
application/json

请求体

application/json
website_key
string
必填

Captcha Token Hcaptcha Website Key

示例:

"a5f74b19-9e45-40e0-b45d-47ff91b7a6c2"

website_url
string
必填

Captcha Token Hcaptcha Website Url

示例:

"https://accounts.hcaptcha.com/demo"

async
boolean
默认值:false

When true, return immediately with a task_id instead of blocking until the token is solved. Poll POST /captcha/tasks with that task_id to retrieve the token. Billing occurs once, only on a solved token.

示例:

false

响应

Captcha Token Hcaptcha Response 200

token
string

Captcha Token Hcaptcha Response 200 Token