output hostname for get request