title: Delphi - Passing Header values to REST Services
body: <p>I have a REST Service.  By default, the JSON data being returned has all the NULLs eliminated.  This is causing me difficulties, so I have a request header setting that changes the behavior.  The request header I need to add is:
  <strong>Accept-Formatting: json-nulls=include</strong></p>
  
  <p>I have been able to get to work from POSTMAN, using the following format.</p>
  
  <p><a href="https://i.stack.imgur.com/JWMPC.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/JWMPC.jpg" alt="enter image description here"></a></p>
  
  <p>I have not been able to get this to work from my application.<br>
  My application has a TRestClient, TRestResponse and TRestRequest.</p>
  
  <p>I have tried adding this as a parameter on both TRestClient and TRestRequest. While the REST service returns the data, the NULL fields are not being displayed, which tells me that my format (or something else relating to the request header) is not correct.  Where and HOW should this be added?<br>
  Any thoughts appreciated.</p>
  
  <p><a href="https://i.stack.imgur.com/yo0jj.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/yo0jj.jpg" alt="enter image description here"></a></p>