title: How to setup Headers and body on REST POST method in Pentaho?
body: <p>I need to setup  headers (Authorization) on the REST Client (Post method) in Pentaho. </p>
  
  <p>I'm passing on the Authorization header as a parameter to the REST Client. Then use that variable inside the Headers field. </p>
  
  <p>But I'm not sure I'm doing it right.</p>
  
  <p>First step, set header on constant.</p>
  
  <p><a href="https://i.stack.imgur.com/HMF77.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HMF77.png" alt="first"></a></p>
  
  <p>Second step, using header variable on rest client step</p>
  
  <p><a href="https://i.stack.imgur.com/CvWVg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CvWVg.png" alt="rest client"></a></p>
  
  <p>when I use postman passing the same headers, it works very well, like this </p>
  
  <p><a href="https://i.stack.imgur.com/0ho39.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0ho39.png" alt="postman call"></a></p>
  
  <p>this is my ktr</p>
  
  <p><a href="https://i.stack.imgur.com/vYeec.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vYeec.png" alt="error json"></a></p>