getConnection(); http_response_code(200); echo json_encode( array( "status" => 200, "cart" => array_values($_SESSION['CART']) )); ?>