php-integration #21
@ -40,9 +40,12 @@
|
|||||||
"Content-Type: application/json"
|
"Content-Type: application/json"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Prepare $detail to POST
|
||||||
|
$body = "User Agent: ", $ua_str, "\n Server PHP Version: ", PHP_VERSION, "\n", $detail;
|
||||||
|
|
||||||
// Prepare the request
|
// Prepare the request
|
||||||
$rawData = array(
|
$rawData = array(
|
||||||
'body' => $detail,
|
'body' => $body,
|
||||||
'title' => $subject,
|
'title' => $subject,
|
||||||
'closed' => 'false'
|
'closed' => 'false'
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user