Trying to print resp in GET request