1đ/1 Capcha Mb
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.
Để đổi api key mọi người chỉ việc đổi mật khẩu của tài khoản thì api key sẽ tự thay đổi nhé.
POST
Form-data
- username: tài khoản của bạn.
- api_key: api_key của bạn.
- img_base64: base64 image của bạn.
{
"status": true
"data": {
"captcha": "cZPvhD",
}
}
$dataPost = [
"username" => "USERNAME",
"api_key" => "API_KEY",
"img_base64" => "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAAyCAIAAABUA0cyAAAE70lEQVR4Xu2YW5YbIQxEvd38ZRPeYlbgfZDYommpSgI1fsT2cA8fE1Eq0ZTbk+R0Wnw9JcPlD1Ys59+/sGRhAVcm0Wdzz8lFrljq2f7JPHP35G7xgYB//49SWQGHrIARHgCwgCuTeBkYuMgVywoY4QEAC7gyiZeBgYtcsTwrYDHsrsjHT5Ta9VoBhzwx4BGRTxiwtyuVFXDIChjhAQALuDKJl4GBi1yxrIARHgCwgCuTeBkYuMgVywoY4QEAC7gyiZeBgYtcsayAER4AsIArk3gZGLjIFcvhgEV59/rn7JjfWAHTzw0ucsUyEbBTZBJzI5+nByyz71lgyZVJvAwMXOSKpZ7tBwU8ggcMmWjx8TIwcJErlu8KWB7j7sUz+hzVh1ycDAxc5IplBeys6wwqdhafaZKLk4GBi7nfOO2cw5V9HD6Jpbp5QL3+cTPkrvPDv6J5Rp+j+pDtIeuHlXGLXfbr8z49zsmTI5IfFw+o7yf0dqXyrICr73Gs5QBsthhp8vYV+/VNBdw7TJfkHe7K+EgfGTA2jKhtHxIwdGWoJwx+P26iR/DsgFGaQ051z5K744Xn+08BnzZzPtL5495gVOe4dj76DUaiV6edgQRt6WCgK095ccAZzAE3UGRBdfAN7GiiYGJmAlbgGbw4Bahgo0KUIGi4znUPNuY4FLA52gaKiFBvv0VBprcOLXFuyWnPfbQwDHij2iqgEjUWqwSZwI8QbvAyTgqQqfOEoMUNFHkkW0B2VUZv3pBbcujGHAkYtuDSYFdvgZKt9K4RwAZgPAitnA4YFQHYFjQ6mkTAvttDA4aipt8oDANmvVMFTLeHFmcCxv7udCbT62iCgEFZxZrHBQwVoDrQLH2lHHAhWxA4VY1p9WRQHAYMhgKKuvR7YVe4bgQBF6/FbHuXbgTCKGBNJHDrTwzY9AUaoB8wGAooGsHtUAFq2x0B93YbuYDba9r53EDxYwIGN6Gjj0CLLntbHHDxPPe9IAYkETCfAQVe8TMCBiuhxPo+aBRgeuhyAWxu7e8UMHwByAK93npRwOAjyJarH4JeFlQLdLkAurxtwIp3eYPBR1u5+iGRWw+6XAZsq/NswIUMWbAH0DTU1Q8YxKfXBwwm6KO+T/ILDbc6T9+54OW6gDMT+sgZLMNeToi7DgWsd40ANgTT2pW1n+GKsZ8d6JkzoOlm+9KA1QfuOjcX8Hn0/4NcOelLsyNQR9c7CLiQBW7f0HV9xdArtN0KXUoS1/b+gAs5AybgjRbwMDxergaKbVAbCgKBH3+3go2GMdhwt6TYZsBuHmkf4nbxE+6kAy5krukFTGCvh6uBYobiPf444JIeJuL6qPRrMo8dHuJ28RPueAFEgLnmPQOWLn78VMAlMa8pv+MNLuQvXDdUwPJ1Ksv1d9oJVwPFDtqKHz8bcMN4e10vC7jQiOI94Y4XQB/wlxGhj1d32glXA0VGZPC8/PiHAx7CMxij8e4lyfCBDccHVefbb5y9Gvl4dX3Cq1UAHztssVO+PGCmN53+iptcEjDXn73coW6xv35MwNPAG/wy3KHrDcbS/ayANTyDeUXAkgqtzPGQFbCGZzAvCtgjczxkBazhGcwKOIU7dP0lq/4U2GaOh9wC5ot7z4WHb//iwvIs7gzAaIIk5tidA9vM8d6F4BGO8viAM2tveNBjCCtgpga8+GL+AoN1cwQ+QwLyAAAAAElFTkSuQmCC"
];
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => "https://dvd.vn/api/captcha/mbbank",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => $dataPost,
));
$result = curl_exec($curl);
curl_close($curl);
print_r($result);