return headers and params for get requests