$link,
'quantity' => $quantity
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postData);
// Execute cURL and capture the response
$response = curl_exec($ch);
// Check for errors
if (curl_errno($ch)) {
echo json_encode(['error' => curl_error($ch)], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
} else {
// Attempt to decode the gzip-compressed response
$decoded_response = @gzdecode($response) ?: $response;
// Display custom JSON response in pretty format with UTF-8 support
$custom_response = [
"STATUS" => "VIEW SEND SUCCESSFUL",
"STATUS CODE" => 200,
"FUCKED BY" => "MR UNKNOWN",
"FUCK" => "CICADA WEB",
"JOIN" => [
"@MUSLIM_HELP_CYBER_ZONE",
"t.me/TEAM_RSBD_PRO"
]
];
echo json_encode($custom_response, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
}
// Close cURL session
curl_close($ch);
} else {
echo json_encode(["error" => "Please provide a 'link' parameter in the URL."], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
}
?>
0 মন্তব্যসমূহ