From 2e5b29bd9dfe4963321eabde6a14adad629e9dda Mon Sep 17 00:00:00 2001 From: troy Date: Sun, 23 Jan 2022 00:51:10 +0100 Subject: [PATCH] so nun aber richtig --- troy-api.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ) ) );