$url = "http://localhost/api/";
$post_string = '
EB4RTDHWE5F18BDC8ZJ3
FLIDRBM9S8E8PP9DZ9T319HC8WQCTUSINFFKJ7W3
Recur
63
24.99
Ahab
Arab
123 Main Street
Apt. 1
Denver
CO
80220
US
Moses Malone
4024007155715823
04
2010
123
2010-01-20
16
';
$postfields = $post_string;
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields);
$data = curl_exec($ch);
echo $data;