TÀI LIỆU TÍCH HỢP API
Vui lòng bảo mật thông tin API KEY trên, nếu lộ API KEY vui lòng
thay đổi mật khẩu để reset lại API KEY.
POST
Form-data
- apikey: apikey.
- type: facebook
- imgbase64: imgbase64.
Response
xxxxxxxxxx
{
"status": "success",
"msg": "Thành Công",
"data": {
"captcha": "8jz3BK",
"status": "success"
}
}
xxxxxxxxxx
<?php
$curl = curl_init();
$dataPost = array(
"apikey" => "your api key",
"imgbase64" => $imgbase64,
"type" => "facebook"
);
curl_setopt_array($curl, array(
CURLOPT_URL => "https://captcha1s.com/captcha/facebook",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $dataPost,
));
$response = curl_exec($curl);
curl_close($curl);
print_r($response);
?>