send and print http request