Skip to content

Commit

Permalink
Debugging using postman
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-Wambua committed Nov 11, 2022
1 parent c07a7a9 commit 0a5cf9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion simulate.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
'Authorization: Bearer CEEqZpf2Qf4QamRieaIGv1BjI1eh',
'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_POST, 1);



$curl_post_data = array(
Expand All @@ -14,6 +14,7 @@
"MSISDN"=> "254705912645",
"BillRefNumber"=> "wambua"
);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$curl_post_data);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($ch);
Expand Down

0 comments on commit 0a5cf9e

Please sign in to comment.