Changed CLI test to test from server.

This commit is contained in:
Fred Boniface 2022-09-19 20:37:58 +01:00
parent 833e81e6f3
commit 6a54ff1b9f
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
// Prepare $detail to POST
$body = "This is a PHP-CLI test issue.";
$subject = "Test Issue";
$subject = "Test Issue - From PHP CLI";
echo "Prepared POST data:\nSubject: $subject\nBody:$body";

View File

@ -41,7 +41,7 @@
);
// Prepare $detail to POST
$body = "User Agent: " . $ua_str . "\n Server PHP Version: " . PHP_VERSION . "\n" . $detail;
$body = "User Agent: " . $ua_str . "\n Server PHP Version: " . PHP_VERSION . "\n\n\n" . $detail;
// Prepare the request
$rawData = array(