From 3751b69a191dcb93f7ca6498ac7db24f628897af Mon Sep 17 00:00:00 2001 From: "fred.boniface" Date: Mon, 19 Sep 2022 19:55:57 +0100 Subject: [PATCH] Trying without json_encode --- php/submitIssue-cli-test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/submitIssue-cli-test.php b/php/submitIssue-cli-test.php index 418d8ea..8d5574b 100644 --- a/php/submitIssue-cli-test.php +++ b/php/submitIssue-cli-test.php @@ -30,7 +30,7 @@ // Prepare CURL $curlConnection = curl_init('https://git.fjla.uk/api/v1/repos/fred.boniface/athena.fb-infra.uk/issues'); - curl_setopt($curlConnection, CURLOPT_POSTFIELDS, $issueData); + curl_setopt($curlConnection, CURLOPT_POSTFIELDS, $rawData); curl_setopt($curlConnection, CURLOPT_RETURNTRANSFER, true); curl_setopt($curlConnection, CURLOPT_HTTPHEADER, $httpHeaders);