setting headers, http method and body in base operation