diff --git a/Source/API/script/index.php b/Source/API/script/index.php index 5f9fa1c..d8fb9dd 100644 --- a/Source/API/script/index.php +++ b/Source/API/script/index.php @@ -41,7 +41,7 @@ try{ } $temp = array('response' => "Rien", 'test' => "Test Ici"); foreach ($temp as $key => $value) { - $response->getBody()->write(json_encode($key."=>".$value));//'"'.$key.'": "'.$value.'"'); + $response->getBody()->write($key."=>".$value);//'"'.$key.'": "'.$value.'"'); } //return $response; return $response->withHeader('Content-type', 'application/json');