http client methods to for requests with headers.