Make the get request return correct output