hopefully fix response data from shrimp showing up on page after response sent

This commit is contained in:
notfire 2025-01-12 11:59:30 -05:00
parent b1e7b36202
commit 9cccf18c40
No known key found for this signature in database
GPG key ID: 3AFDACAAB4E56B16

View file

@ -14,6 +14,7 @@ curl_setopt($ch, CURLOPT_URL,$fediAPIRoute);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER,
array("Authorization: {$fediAPIToken}"));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$contentO = $arr["text"];
$contentR = $arr["responsetext"];
@ -32,4 +33,4 @@ curl_exec($ch);
curl_close($ch);
?>
?>