function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
VRKVRK 

Http Request Headers getting not values

Hi experts,
In debug logs , i noticed HttpRequest Headers not fetching any values and strClientIdValue is getting null values 
pls find below my code .

HttpRequest request = new HttpRequest();
 String strEndpointExtension = '';
request.setEndpoint('callout:MS_NC'+strEndpointExtension);
 request.setMethod('POST');
 request.setHeader('APIGW-Tracking-Header', 'aas-87eh-kju8se');
 request.setHeader('Content-Type', 'application/json');
request.setHeader('Accept', 'application/json');
 if(strClientIdValue!=null){
request.setHeader(BT_WS_ResponseConstant.strAPIGEEHeader , strClientIdValue);
   }
        request.setBody(responseBody);
Http http = new Http();
HTTPResponse response = http.send(request); 
        system.debug('Response recieved from MS getStatuscode ====> '+response.getStatusCode());  
        system.debug('Response recieved from MS getStatus ====> '+response.getStatus()); 
        system.debug('Response recieved from MS ====> '+response.getBody());  


Output -Debug====>  System.HttpRequest[Endpoint=callout:MS_NC/tmf/productordermanagement/xx/xxxxx, Method=POST]

pls check and let me know whats wrong in the code .....
Thanks in advance for your help