- Регистрация
- 22.01.2019
- Сообщения
- 893
- Благодарностей
- 3 024
- Баллы
- 93

Returning User Agent and respKey in API
We've added the return of User Agent and respKey for hCaptcha tasks in the API in CapMonster Cloud.
What is it for?
To improve the acceptance of the hCaptcha token, it is necessary to use the same User Agent with which hCaptcha was solved when submitting.
You can send the form with proxy or without it.
Example of the response from CapMonster Cloud API with parameters for hCaptcha solving:
JSON:
{
"gRecaptchaResponse":
"P1_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.hKdwYXNza2V5xQb9JvlblBqjTdKpourvlRNpOZLvJb0yJRmsXVFVjyxFWlL1wdYBXaPyFtnxwy2ukbMgwWn62-cjSc98Iw2XIPYWg5MNDKS4_7tBIhjY0PienoKy1...",
"respKey":
"E0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoidjQ3RjlqZGFYTllFQXlZZFYyRTlaWlBVQUdLaFpPakpRNjBXRTljVW40VnY3NnhuN2V3R0wwVWd1MW1Wai90WEdoYmt5a2NqVGlGdWpsSlpmVjcza...",
"userAgent":
"Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
}
Последнее редактирование: