diff --git a/troy-api.php b/troy-api.php index 032967a..3f9603c 100644 --- a/troy-api.php +++ b/troy-api.php @@ -5,6 +5,7 @@ function sendToTroy($data) { $options = array ( 'http' => array ( 'method' => 'POST', + 'Content-Type' => 'application/json', 'content' => json_encode ( $data ) ) );