title: mule how to get http header values from postman rest client
body: <pre><code>&lt;flow  name="getDetails"&gt;
      &lt;http:inbound-endpoint doc:description="This endpoint receives an HTTP message." doc:name="HTTP" exchange-pattern="request-response" host="localhost" port="8081" path="getDetails"/&gt;
      &lt;json:xml-to-json-transformer doc:name="XML to JSON" mimeType="text/json"  ignoreBadInput="true"/&gt; 
      &lt;logger message="xml to json output #[message.payload]" level="INFO" doc:name="Logger"/&gt;
  
        &lt;logger message=" custom header username ... #[message.outboundProperties.get('http.headers.username')]" level="INFO" /&gt;
        &lt;logger message=" custom header username ... #[message.inboundProperties.get('http.headers.username')]" level="INFO" /&gt;
      &lt;http:outbound-endpoint exchange-pattern="request-response"  address="http://localhost:8081/callReservation" method="POST" contentType="application/json" doc:name="HTTP"/&gt;
  &lt;/flow&gt;
  </code></pre>
  
  <p>thru postman rest client (chrome) using , <strong>form-data , x-www-form-urlencoded.</strong></p>
  
  <p>I set   header values like<br>
  <strong>http.headers.username=mule 
  http.headers.password=mule</strong></p>
  
  <p>In mule <code>**&lt;logger message=" custom header username ... #[message.outboundProperties.get('http.headers.username')]" level="INFO" /&gt;**</code></p>
  
  <p>it shows null value. any valuable suggestions are welcome</p>