2022-05-04 18:24:10
$url = 'https://full2sms.in/api/v1/disburse/paytm?mid={mid}&mkey={mkey}&guid={guid}&amount={amount}&mobile={mobile}&info={info}';
$ch = curl_init($url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// return the output in string format curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
$output = curl_exec($ch); // execute $info = curl_getinfo($ch); $data = json_decode($output, true);
$status = $data["status"];
If curl does not work in your campaign then you can change the code of curl like we have given in this demo or else you can do it with file_get_contents
72 views15:24