hopefully fix response data from shrimp showing up on page after response sent
This commit is contained in:
parent
b1e7b36202
commit
9cccf18c40
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ curl_setopt($ch, CURLOPT_URL,$fediAPIRoute);
|
||||||
curl_setopt($ch, CURLOPT_POST, true);
|
curl_setopt($ch, CURLOPT_POST, true);
|
||||||
curl_setopt($ch, CURLOPT_HTTPHEADER,
|
curl_setopt($ch, CURLOPT_HTTPHEADER,
|
||||||
array("Authorization: {$fediAPIToken}"));
|
array("Authorization: {$fediAPIToken}"));
|
||||||
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||||
|
|
||||||
$contentO = $arr["text"];
|
$contentO = $arr["text"];
|
||||||
$contentR = $arr["responsetext"];
|
$contentR = $arr["responsetext"];
|
||||||
|
@ -32,4 +33,4 @@ curl_exec($ch);
|
||||||
|
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue