public function handleIn(Request $request)
{
...
$method = $request->input('method','');
if ($method == 'base64') {
$captcha_request_entity = new Entities\CaptchaRequestEntity($request);
$captcha_response_entity = $this->captcha_solver->solveImageCaptcha($captcha_request_entity);
return RucaptchaService::sendCaptchaResult($captcha_response_entity);
}
}