I am successfully making a Rest request as follows: Is there a way to trace the headers of the request and response
prepareEndPoint();
System.debug(endPoint);
HttpRequest req=new HttpRequest();
req.setEndpoint('Callout:EFS_URL/'+endPoint);
req.setMethod('GET');
req.setHeader('APP-UserID',efsUserId);
req.setHeader('APP-Password',efsPassword);
req.setHeader('MFC-ConversationUID','79832fec-796c-4dab-bdae-a28e7288e421');
req.setHeader('MFC-ApplicationName','SFDC');
req.setHeader('MFC-RequestDateTime','2015-09-19T01:13:57');
req.setHeader('Content-Type','application/xml');
req.setCompressed(true);
Http http=new Http();
System.debug(req);
HttpResponse res=http.send(req);
resultSet=res.getBody();