remove print_r from getResponse() method