Takes in a request and prints out the results