diff --git a/Source/API/script/index.php b/Source/API/script/index.php index 2227ed3..7e698d7 100644 --- a/Source/API/script/index.php +++ b/Source/API/script/index.php @@ -40,7 +40,7 @@ try{ } } $temp = array('response' => "Rien", 'test' => "Test Ici"); - $response->getBody()->write(print_r($temp)); + $response->getBody()->write(print_r($temp,true)); //return $response; return $response->withHeader('Content-type', 'application/json'); });