Skip to content

Instantly share code, notes, and snippets.

@pasindud
Created May 3, 2015 15:15
Show Gist options
  • Select an option

  • Save pasindud/c979427b56c3c20b6df8 to your computer and use it in GitHub Desktop.

Select an option

Save pasindud/c979427b56c3c20b6df8 to your computer and use it in GitHub Desktop.
Ideamart Delivery Report
<?php
header('Content-type: application/json');
echo json_encode(array("statusCode"=>"S1000","statusDetail"=>"Success"));
$payload = file_get_contents("php://input");
$data = json_decode($payload,true);
/*
echo $data['destinationAddress'];
echo $data['timeStamp'];
echo $data['requestId'];
echo $data['deliveryStatus'];
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment