diff --git a/troy-api.php b/troy-api.php index 3f9603c..56ca06b 100644 --- a/troy-api.php +++ b/troy-api.php @@ -1,11 +1,12 @@ array ( 'method' => 'POST', - 'Content-Type' => 'application/json', + 'header' => array ( + 'Content-Type: application/json' + ), 'content' => json_encode ( $data ) ) );