php-integration #21

Closed
fred.boniface wants to merge 146 commits from php-integration into main
Showing only changes of commit f566d039ab - Show all commits

View File

@ -39,12 +39,14 @@
);
// Prepare the request
$issueData = array(
$rawData = array(
'body' => $detail,
'title' => $subject,
'closed' => 'false'
);
$issueData = json_encode($rawData);
// 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);