decode json string from cache to request body

This commit is contained in:
2025-03-31 16:34:43 +03:00
parent 9f7196d146
commit b1d2cbbcbf
+1 -1
View File
@@ -285,7 +285,7 @@ class sync{
if(empty($data)) throw new Exception("Payload is empty."); if(empty($data)) throw new Exception("Payload is empty.");
$options = [ $options = [
'json' => $data, 'json' => json_decode($data),
'allow_redirects' => false, 'allow_redirects' => false,
'timeout' => 5, 'timeout' => 5,
'headers' => [ 'headers' => [